From 2f9728fb7eeddfec67cb167b86118564eda33e62 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 12 Jan 2024 10:44:07 +0100 Subject: [PATCH] tests: use nmt from Nixpkgs (cherry picked from commit 8ae3bfe2bffe0b058b3158f83eaa53bf14ca347b) --- tests/default.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/default.nix b/tests/default.nix index 497f363c..803d12c7 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -4,12 +4,6 @@ let 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 { inherit lib pkgs; check = false; @@ -41,9 +35,7 @@ let isDarwin = pkgs.stdenv.hostPlatform.isDarwin; isLinux = pkgs.stdenv.hostPlatform.isLinux; -in - -import nmt { +in import pkgs.nix-lib-nmt { inherit lib pkgs modules; testedAttrPath = [ "home" "activationPackage" ]; tests = builtins.foldl' (a: b: a // (import b)) { } ([