mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
nixos/tests/containers-imperative: Fix eval
The commit c6f7d43678
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>
This commit is contained in:
parent
a731dfce68
commit
a9cd8ef23e
@ -15,7 +15,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||||||
# container available within the VM, because we don't have network access.
|
# container available within the VM, because we don't have network access.
|
||||||
virtualisation.pathsInNixDB = let
|
virtualisation.pathsInNixDB = let
|
||||||
emptyContainer = import ../lib/eval-config.nix {
|
emptyContainer = import ../lib/eval-config.nix {
|
||||||
inherit (config.nixpkgs) system;
|
inherit (config.nixpkgs.localSystem) system;
|
||||||
modules = lib.singleton {
|
modules = lib.singleton {
|
||||||
containers.foo.config = {};
|
containers.foo.config = {};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user