forked from lix-project/lix
Stupid error in script
This commit is contained in:
parent
f903d86740
commit
194c66eeeb
|
@ -30,7 +30,7 @@ if [ "$needed_path" != "${needed_path%.drv}" ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ @bindir@/nix-store --check-validity "$full_path" ]; then
|
if @bindir@/nix-store --check-validity "$full_path"; then
|
||||||
if ! [ -e nix-export/"$needed_path".nar.gz ]; then
|
if ! [ -e nix-export/"$needed_path".nar.gz ]; then
|
||||||
@bindir@/nix-store --export "$full_path" | @gzip@ > "$TMP_DIR"/"$needed_path".nar.gz
|
@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
|
@coreutils@/ln -fs "$TMP_DIR"/"$needed_path".nar.gz nix-export/"$needed_path".nar.gz
|
||||||
|
|
Loading…
Reference in a new issue