forked from clan/clan-core
19 lines
394 B
Nix
19 lines
394 B
Nix
test:
|
|
{ pkgs, self, ... }:
|
|
let
|
|
inherit (pkgs) lib;
|
|
nixos-lib = import (pkgs.path + "/nixos/lib") { };
|
|
in
|
|
(nixos-lib.runTest {
|
|
hostPkgs = pkgs;
|
|
# speed-up evaluation
|
|
defaults = {
|
|
documentation.enable = lib.mkDefault false;
|
|
nix.settings.min-free = 0;
|
|
};
|
|
|
|
# to accept external dependencies such as disko
|
|
node.specialArgs.self = self;
|
|
imports = [ test ];
|
|
}).config.result
|