Fix tests/ to ensure they use the lib attribute introduced in 83ad1c2206710f356d362170402e461422d2ff3b
This commit is contained in:
parent
d246c4b5da
commit
a057ce75e9
4 changed files with 12 additions and 12 deletions
|
|
@ -158,7 +158,7 @@ runNixDrvWithinVm vmConfig nixDrvExpr = do
|
|||
};
|
||||
script = let
|
||||
jail-nix = import <jail-nix> {};
|
||||
jail = jail-nix.extend { inherit pkgs; suppressExperimentalWarnings = true; };
|
||||
jail = jail-nix.lib.extend { inherit pkgs; suppressExperimentalWarnings = true; };
|
||||
testToRun = #{nixDrvExpr};
|
||||
in ''
|
||||
(
|
||||
|
|
@ -204,7 +204,7 @@ evalNixExpr nixExpr = do
|
|||
lib = pkgs.lib;
|
||||
sh = script: (pkgs.writeShellApplication { name = "test-script"; text = script; });
|
||||
jail-nix = import <jail-nix> {};
|
||||
jail = jail-nix.extend { inherit pkgs; suppressExperimentalWarnings = true; };
|
||||
jail = jail-nix.lib.extend { inherit pkgs; suppressExperimentalWarnings = true; };
|
||||
in #{nixExpr}
|
||||
|]
|
||||
liftIO $
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue