mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
parent
c845c0ccad
commit
31114ec3a5
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ source common.sh
|
||||||
|
|
||||||
clearStore
|
clearStore
|
||||||
|
|
||||||
outPath1=$(echo 'with import ./config.nix; mkDerivation { name = "foo1"; builder = builtins.toFile "builder" "mkdir $out; echo hello > $out/foo"; }' | nix-build - --no-out-link)
|
outPath1=$(echo 'with import ./config.nix; mkDerivation { name = "foo1"; builder = builtins.toFile "builder" "mkdir $out; echo hello > $out/foo"; }' | nix-build - --no-out-link --option auto-optimise-store true)
|
||||||
outPath2=$(echo 'with import ./config.nix; mkDerivation { name = "foo2"; builder = builtins.toFile "builder" "mkdir $out; echo hello > $out/foo"; }' | nix-build - --no-out-link)
|
outPath2=$(echo 'with import ./config.nix; mkDerivation { name = "foo2"; builder = builtins.toFile "builder" "mkdir $out; echo hello > $out/foo"; }' | nix-build - --no-out-link --option auto-optimise-store true)
|
||||||
|
|
||||||
inode1="$(perl -e "print ((lstat('$outPath1/foo'))[1])")"
|
inode1="$(perl -e "print ((lstat('$outPath1/foo'))[1])")"
|
||||||
inode2="$(perl -e "print ((lstat('$outPath2/foo'))[1])")"
|
inode2="$(perl -e "print ((lstat('$outPath2/foo'))[1])")"
|
||||||
|
|
Loading…
Reference in a new issue