diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-03-07 16:27:55 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-03-07 16:27:55 +0100 |
commit | c9f21862006f50937f22f51155ee81ff47399730 (patch) | |
tree | 143817679d60a8b50de7c7730ca08170c0dc8927 /nix/notmuch-links.nix | |
parent | c39a6086a83c2547534d943e3611c4ce0524fafa (diff) | |
download | utils-c9f21862006f50937f22f51155ee81ff47399730.tar utils-c9f21862006f50937f22f51155ee81ff47399730.tar.gz utils-c9f21862006f50937f22f51155ee81ff47399730.tar.bz2 utils-c9f21862006f50937f22f51155ee81ff47399730.tar.xz utils-c9f21862006f50937f22f51155ee81ff47399730.zip |
bump
Diffstat (limited to 'nix/notmuch-links.nix')
-rw-r--r-- | nix/notmuch-links.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nix/notmuch-links.nix b/nix/notmuch-links.nix new file mode 100644 index 0000000..67ebe3b --- /dev/null +++ b/nix/notmuch-links.nix | |||
@@ -0,0 +1,24 @@ | |||
1 | { stdenv | ||
2 | , notmuch-tcp | ||
3 | , zsh, coreutils, gawk, gnused | ||
4 | }: | ||
5 | |||
6 | stdenv.mkDerivation rec { | ||
7 | pname = "notmuch-links"; | ||
8 | version = "0.1"; | ||
9 | src = ../notmuch-links; | ||
10 | |||
11 | phases = [ "buildPhase" "installPhase" ]; | ||
12 | |||
13 | inherit zsh coreutils gawk gnused; | ||
14 | notmuchtcp = notmuch-tcp; | ||
15 | |||
16 | buildPhase = '' | ||
17 | substituteAll $src notmuch-links | ||
18 | ''; | ||
19 | |||
20 | installPhase = '' | ||
21 | install -m 0755 -D -t $out/bin \ | ||
22 | notmuch-links | ||
23 | ''; | ||
24 | } | ||