mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
shellcheck
This commit is contained in:
parent
8690b6f138
commit
d772a8b3dc
@ -28,7 +28,7 @@ if canUseSandbox; then
|
|||||||
# of a shell in the sandbox. We only care about testing the IFD
|
# of a shell in the sandbox. We only care about testing the IFD
|
||||||
# semantics.
|
# semantics.
|
||||||
for i in bar result addPath; do
|
for i in bar result addPath; do
|
||||||
nix copy --to "$store2_url" --no-check-sigs "$(nix-build ./import-from-derivation.nix -A $i --no-out-link)"
|
nix copy --to "$store2_url" --no-check-sigs "$(nix-build ./import-from-derivation.nix -A "$i" --no-out-link)"
|
||||||
done
|
done
|
||||||
|
|
||||||
clearStore
|
clearStore
|
||||||
@ -36,7 +36,7 @@ if canUseSandbox; then
|
|||||||
outPath_check=$(nix-build ./import-from-derivation.nix -A result --no-out-link --store "$store2_url")
|
outPath_check=$(nix-build ./import-from-derivation.nix -A result --no-out-link --store "$store2_url")
|
||||||
[[ "$outPath" = "$outPath_check" ]]
|
[[ "$outPath" = "$outPath_check" ]]
|
||||||
[[ ! -e "$outPath" ]]
|
[[ ! -e "$outPath" ]]
|
||||||
[[ -e "$store2/nix/store/$(basename $outPath)" ]]
|
[[ -e "$store2/nix/store/$(basename "$outPath")" ]]
|
||||||
|
|
||||||
outPath2_check=$(nix-build ./import-from-derivation.nix -A addPath --no-out-link --store "$store2_url")
|
outPath2_check=$(nix-build ./import-from-derivation.nix -A addPath --no-out-link --store "$store2_url")
|
||||||
[[ "$outPath2" = "$outPath2_check" ]]
|
[[ "$outPath2" = "$outPath2_check" ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user