diff options
-rw-r--r-- | anissue.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/anissue.nix b/anissue.nix deleted file mode 100644 index 95d7cf8..0000000 --- a/anissue.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ coreutils -, docopts -, fetchFromGitHub -, findutils -, gawk -, git -, gnugrep -, gnused -, jq -, lib -, makeWrapper -, ncurses -, nix-gitignore -, stdenv -}: -stdenv.mkDerivation { - name = "anissue"; - src = nix-gitignore.gitignoreSource [ ] ./.; - nativeBuildInputs = [ makeWrapper ]; - buildPhase = ":"; - installPhase = '' - mkdir -p $out/{bin,share} - for bin in src/*.sh; do - cp $bin $out/share/$(basename $bin) - wrapProgram $out/share/$(basename $bin) \ - --argv0 ''' \ - --set PATH ${lib.makeBinPath [ - git - ]} - done - ln -s $out/share/anissue.sh $out/bin/anissue - ''; -} |