@@ -7,7 +7,7 @@ rec {
77 stdenv.mkDerivation {
88 name = "arx";
99 buildCommand = ''
10− ${haskellPackages.arx}/bin/arx tmpx ${archive} -o $out // ${startup}
10+ ${haskellPackages.arx}/bin/arx tmpx ${archive} -rm! -o $out // ${startup}
1111 chmod +x $out
1212 '';
1313 };
@@ -15,11 +15,11 @@ rec {
1515 maketar = { targets }:
1616 stdenv.mkDerivation {
1717 name = "maketar";
18+ buildInputs = [gnutar perl bzip2];
1819 exportReferencesGraph = map (x: [("closure-" + baseNameOf x) x]) targets;
1920 buildCommand = ''
20− storePaths=$(${perl}/bin/perl ${pathsFromGraph} ./closure-*)
21+ storePaths=$(perl ${pathsFromGraph} ./closure-*)
2122
22− # printRegistration=1 ${perl}/bin/perl ${pathsFromGraph} ./closure-* > .reginfo
2323 tar cfj $out \
2424 --owner=0 --group=0 --mode=u+rw,uga+r \
2525 --hard-dereference \
@@ -27,6 +27,7 @@ rec {
2727 '';
2828 };
2929
30+ # TODO: eventually should this go in nixpkgs?
3031 nix-user-chroot = stdenv.mkDerivation {
3132 name = "nix-user-chroot-2b144e";
3233 src = fetchFromGitHub {