mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
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, ... }:
|
||||
let
|
||||
drv = derivation {
|
||||
name = "derivation";
|
||||
system = builtins.currentSystem;
|
||||
builder = "/bin/sh";
|
||||
args = [ "-c" "echo {} > $out" ];
|
||||
};
|
||||
in {
|
||||
{
|
||||
|
||||
imports = [
|
||||
"${drv}"
|
||||
"${builtins.toFile "drv" "{}"}"
|
||||
./declare-enable.nix
|
||||
./define-enable.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user