diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-13T16·54-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-13T16·54-0400 |
commit | 31114ec3a5ce08ccf9526f62316f1cc60c8b399a (patch) | |
tree | 71a2582cf82d4748b7bdf7c007d7ad4402866f18 /tests | |
parent | c845c0ccad9a835a69c63c2eadd71d7845dca111 (diff) |
Fix the store optimisation test
http://hydra.nixos.org/build/3026118
Diffstat (limited to 'tests')
-rw-r--r-- | tests/optimise-store.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/optimise-store.sh b/tests/optimise-store.sh index 4d8077997d3e..6eb54ca50875 100644 --- a/tests/optimise-store.sh +++ b/tests/optimise-store.sh @@ -2,8 +2,8 @@ source common.sh 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) -outPath2=$(echo 'with import ./config.nix; mkDerivation { name = "foo2"; 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 --option auto-optimise-store true) inode1="$(perl -e "print ((lstat('$outPath1/foo'))[1])")" inode2="$(perl -e "print ((lstat('$outPath2/foo'))[1])")" |