lib/tests/misc.nix: Fix dependency on currentSystem

This doesn't work in pure mode.
wip/yesman
Eelco Dolstra 4 years ago
parent 8f86624ac9
commit a274da605d
  1. 2
      lib/tests/misc.nix

@ -148,7 +148,7 @@ runTests {
"${builtins.storeDir}/d945ibfx9x185xf04b890y4f9g3cbb63-python-2.7.11";
in {
storePath = isStorePath goodPath;
storePathDerivation = isStorePath (import ../.. {}).hello;
storePathDerivation = isStorePath (import ../.. { system = "x86_64-linux"; }).hello;
storePathAppendix = isStorePath
"${goodPath}/bin/python";
nonAbsolute = isStorePath (concatStrings (tail (stringToCharacters goodPath)));

Loading…
Cancel
Save