add min-copy-closure, a minimal nix-copy-closure substitute
This commit is contained in:
9
pkgs/min-copy-closure/receive.sh
Normal file
9
pkgs/min-copy-closure/receive.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
cd /nix/store
|
||||
while read f ; do
|
||||
test "$f" = "end" && break
|
||||
test -e $f || echo -n $f " "
|
||||
done
|
||||
mkdir -p /tmp/store
|
||||
cd /tmp/store
|
||||
cpio -i
|
Reference in New Issue
Block a user