diff options
author | aszlig <aszlig@nix.build> | 2018-04-20 12:22:40 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-04-20 12:25:04 +0200 |
commit | a9cd8ef23e0ff0af88c2ed547f8ce1e32b3de74d (patch) | |
tree | e0a0d25215acf38157743c9a9be4f079c0e5104e /nixos/tests/containers-imperative.nix | |
parent | a731dfce685b94584192d7a175c477e753f29cfa (diff) | |
download | nixpkgs-a9cd8ef23e0ff0af88c2ed547f8ce1e32b3de74d.tar nixpkgs-a9cd8ef23e0ff0af88c2ed547f8ce1e32b3de74d.tar.gz nixpkgs-a9cd8ef23e0ff0af88c2ed547f8ce1e32b3de74d.tar.bz2 nixpkgs-a9cd8ef23e0ff0af88c2ed547f8ce1e32b3de74d.tar.lz nixpkgs-a9cd8ef23e0ff0af88c2ed547f8ce1e32b3de74d.tar.xz nixpkgs-a9cd8ef23e0ff0af88c2ed547f8ce1e32b3de74d.tar.zst nixpkgs-a9cd8ef23e0ff0af88c2ed547f8ce1e32b3de74d.zip |
nixos/tests/containers-imperative: Fix eval
The commit c6f7d4367894047592cc412740f0c1f5b2ca2b59 changed the system attribute to be below config.nixpkgs.localSystem, but the test still uses the old attribute. I have not tested whether the test actually succeeds but just checked whether evaluation works and it evaluates successfully now. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'nixos/tests/containers-imperative.nix')
-rw-r--r-- | nixos/tests/containers-imperative.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/containers-imperative.nix b/nixos/tests/containers-imperative.nix index 20902913e9a..015b79b1cee 100644 --- a/nixos/tests/containers-imperative.nix +++ b/nixos/tests/containers-imperative.nix @@ -15,7 +15,7 @@ import ./make-test.nix ({ pkgs, ...} : { # container available within the VM, because we don't have network access. virtualisation.pathsInNixDB = let emptyContainer = import ../lib/eval-config.nix { - inherit (config.nixpkgs) system; + inherit (config.nixpkgs.localSystem) system; modules = lib.singleton { containers.foo.config = {}; }; |