diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-10 16:20:41 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-02-10 16:20:41 +0100 |
commit | a274da605de4dcdf3eeb1bc63967d3098505dc12 (patch) | |
tree | d53beca94d0b0d921a8020583ea9c69b9d43a800 | |
parent | 8f86624ac95de33f3bdd08b9f0d3a9096f7755c4 (diff) |
lib/tests/misc.nix: Fix dependency on currentSystem
This doesn't work in pure mode.
-rw-r--r-- | lib/tests/misc.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/misc.nix b/lib/tests/misc.nix index 59ed1e507e24..01ff5ecf1485 100644 --- a/lib/tests/misc.nix +++ b/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))); |