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 /lib/tests/misc.nix | |
parent | 8f86624ac95de33f3bdd08b9f0d3a9096f7755c4 (diff) | |
download | nixpkgs-a274da605de4dcdf3eeb1bc63967d3098505dc12.tar nixpkgs-a274da605de4dcdf3eeb1bc63967d3098505dc12.tar.gz nixpkgs-a274da605de4dcdf3eeb1bc63967d3098505dc12.tar.bz2 nixpkgs-a274da605de4dcdf3eeb1bc63967d3098505dc12.tar.lz nixpkgs-a274da605de4dcdf3eeb1bc63967d3098505dc12.tar.xz nixpkgs-a274da605de4dcdf3eeb1bc63967d3098505dc12.tar.zst nixpkgs-a274da605de4dcdf3eeb1bc63967d3098505dc12.zip |
lib/tests/misc.nix: Fix dependency on currentSystem
This doesn't work in pure mode.
Diffstat (limited to 'lib/tests/misc.nix')
-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 59ed1e507e2..01ff5ecf148 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))); |