diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-07 23:59:15 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-07 23:59:15 +0200 |
commit | 12399cb846a7b97ba6d8785d90daf033fd0b97ac (patch) | |
tree | 92861f39326b29bfe9ba6d6123f870db6e2277bd /custom/antigen.nix | |
parent | 04c4bbbbc3d0c15cb5d18d5739672b969a533259 (diff) | |
download | nixos-12399cb846a7b97ba6d8785d90daf033fd0b97ac.tar nixos-12399cb846a7b97ba6d8785d90daf033fd0b97ac.tar.gz nixos-12399cb846a7b97ba6d8785d90daf033fd0b97ac.tar.bz2 nixos-12399cb846a7b97ba6d8785d90daf033fd0b97ac.tar.xz nixos-12399cb846a7b97ba6d8785d90daf033fd0b97ac.zip |
ZSH config
Diffstat (limited to 'custom/antigen.nix')
-rw-r--r-- | custom/antigen.nix | 18 |
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 | |||
5 | stdenv.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 | } | ||