Merge pull request #77445 from Infinisil/fix-lib-tests
lib/tests: Fix module tests
This commit is contained in:
commit
112eea6b90
@ -1,17 +1,11 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
let
|
{
|
||||||
drv = derivation {
|
|
||||||
name = "derivation";
|
|
||||||
system = builtins.currentSystem;
|
|
||||||
builder = "/bin/sh";
|
|
||||||
args = [ "-c" "echo {} > $out" ];
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
"${drv}"
|
"${builtins.toFile "drv" "{}"}"
|
||||||
./declare-enable.nix
|
./declare-enable.nix
|
||||||
./define-enable.nix
|
./define-enable.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user