nixpkgs-suyu/lib/tests/modules/import-from-store.nix

18 lines
259 B
Nix
Raw Normal View History

{ lib, ... }:
let
drv = derivation {
name = "derivation";
system = builtins.currentSystem;
builder = "/bin/sh";
args = [ "-c" "echo {} > $out" ];
};
in {
imports = [
"${drv}"
./declare-enable.nix
./define-enable.nix
];
}