forked from lix-project/lix
OK, I will believe that fix does no worse..
This commit is contained in:
parent
ce85b55cf0
commit
f903d86740
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ if [ "$needed_path" != "${needed_path%.drv}" ]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
if [ -e "$full_path" ]; then
|
||||
if [ @bindir@/nix-store --check-validity "$full_path" ]; then
|
||||
if ! [ -e nix-export/"$needed_path".nar.gz ]; then
|
||||
@bindir@/nix-store --export "$full_path" | @gzip@ > "$TMP_DIR"/"$needed_path".nar.gz
|
||||
@coreutils@/ln -fs "$TMP_DIR"/"$needed_path".nar.gz nix-export/"$needed_path".nar.gz
|
||||
|
|
Loading…
Reference in a new issue