aboutsummaryrefslogtreecommitdiffstats
path: root/anissue.nix
diff options
context:
space:
mode:
Diffstat (limited to 'anissue.nix')
-rw-r--r--anissue.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/anissue.nix b/anissue.nix
index e0c3496..c2113f0 100644
--- a/anissue.nix
+++ b/anissue.nix
@@ -1,4 +1,5 @@
{ coreutils
+, docopts
, fetchFromGitHub
, findutils
, gawk
@@ -23,8 +24,10 @@ stdenv.mkDerivation {
for bin in src/*.sh; do
cp $bin $out/share/$(basename $bin)
wrapProgram $out/share/$(basename $bin) \
+ --argv0 ''' \
--set PATH ${lib.makeBinPath [
coreutils
+ docopts
findutils
gawk
git
@@ -35,6 +38,6 @@ stdenv.mkDerivation {
tree-grepper
]}
done
- ln -s $out/share/extract.sh $out/bin/anissue
+ ln -s $out/share/anissue.sh $out/bin/anissue
'';
}