on master help sign in
Create .reginfo file in makedir.
commit14dfad6237721756c7a6f8741a15a6444b8eefb9 authorMatthew Bauer <mjbauer95@gmai.com> dateTue 14 Jun 2016, 20:01 (10 years ago) parent563307f
1 file changed+2−1
makedir.nix+2−1
makedir.nix+2−1
@@ -7,8 +7,9 @@
77 exportReferencesGraph = [ "closure" toplevel ];
88 buildInputs = [ perl ];
99 buildCommand = ''
10− storePaths=$(${perl}/bin/perl ${pathsFromGraph} ./closure)
1110 mkdir -p $out
11+ storePaths=$(${perl}/bin/perl ${pathsFromGraph} ./closure)
12+ printRegistration=1 ${perl}/bin/perl ${pathsFromGraph} ./closure > $out/.reginfo
1213 for path in $storePaths; do
1314 cp --parents -r $path $out/
1415 done