Merge pull request #77445 from Infinisil/fix-lib-tests

lib/tests: Fix module tests
This commit is contained in:
Daiderd Jordan 2020-01-10 16:17:38 +01:00 committed by GitHub
commit 112eea6b90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
];
}