stuebinm
243f091a49
we've had this for ages, and since I started with the new scripts directory under pkgs (and anticipated we'll write more), it seems like a good idea to move that script there and have them all in one place. Certainly better than having it as one extremely long string inside Nix.
16 lines
270 B
Nix
16 lines
270 B
Nix
{ stdenvNoCC, gauche, fish }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
name = "hacc-utility-scripts";
|
|
|
|
src = ./.;
|
|
|
|
buildInputs = [ gauche fish ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
fish -n $out/bin/*.fish
|
|
cp *.{scm,fish} $out/bin
|
|
chmod +x $out/bin/*
|
|
'';
|
|
}
|