mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
tests: use nmt from Nixpkgs
This commit is contained in:
parent
f2942f3385
commit
8ae3bfe2bf
1 changed files with 1 additions and 7 deletions
|
@ -4,12 +4,6 @@ let
|
||||||
|
|
||||||
lib = import ../modules/lib/stdlib-extended.nix pkgs.lib;
|
lib = import ../modules/lib/stdlib-extended.nix pkgs.lib;
|
||||||
|
|
||||||
nmt = fetchTarball {
|
|
||||||
url =
|
|
||||||
"https://gitlab.com/api/v4/projects/rycee%2Fnmt/repository/archive.tar.gz?sha=4df00c569b1badfedffecd7ccd60f794550486db";
|
|
||||||
sha256 = "1cyly1zazgj8z6bazml4js7lqaqvpp8lw045aqchlpvp42bl1lp4";
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = import ../modules/modules.nix {
|
modules = import ../modules/modules.nix {
|
||||||
inherit lib pkgs;
|
inherit lib pkgs;
|
||||||
check = false;
|
check = false;
|
||||||
|
@ -39,7 +33,7 @@ let
|
||||||
isDarwin = pkgs.stdenv.hostPlatform.isDarwin;
|
isDarwin = pkgs.stdenv.hostPlatform.isDarwin;
|
||||||
isLinux = pkgs.stdenv.hostPlatform.isLinux;
|
isLinux = pkgs.stdenv.hostPlatform.isLinux;
|
||||||
|
|
||||||
in import nmt {
|
in import pkgs.nix-lib-nmt {
|
||||||
inherit lib pkgs modules;
|
inherit lib pkgs modules;
|
||||||
testedAttrPath = [ "home" "activationPackage" ];
|
testedAttrPath = [ "home" "activationPackage" ];
|
||||||
tests = builtins.foldl' (a: b: a // (import b)) { } ([
|
tests = builtins.foldl' (a: b: a // (import b)) { } ([
|
||||||
|
|
Loading…
Reference in a new issue