summaryrefslogtreecommitdiff
path: root/custom/antigen.nix
diff options
context:
space:
mode:
Diffstat (limited to 'custom/antigen.nix')
-rw-r--r--custom/antigen.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/custom/antigen.nix b/custom/antigen.nix
new file mode 100644
index 00000000..07fc41c6
--- /dev/null
+++ b/custom/antigen.nix
@@ -0,0 +1,18 @@
1{ stdenv
2, fetchgit
3}:
4
5stdenv.mkDerivation rec {
6 name="antigen";
7 src = fetchgit {
8 inherit name;
9 url = https://github.com/zsh-users/antigen.git;
10 rev = "30098c1d9955b8548aa827588c0d2c9be077c6f2";
11 sha256 = "7cb3a75d06fb1e09077703ff0f056f0bfde98b89384afe43ecdc4a42af8e156c";
12 };
13 builder = builtins.toFile "builder.sh" ''
14 source $stdenv/setup
15
16 cp -r $src $out
17 '';
18}