about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2022-08-14 22:38:35 -0400
committerAlyssa Ross <hi@alyssa.is>2022-08-15 07:59:50 +0000
commit88132767ceb5cfdde740a25e4d0f7ce933f588b1 (patch)
tree0610ee316fa0993523564276571fcd80bfb013ee /pkgs
parenteb642f80f9aecc19312909e08601a3c2020b5ce2 (diff)
git: actually add fetchgit tests to passthru.tests
Nested attrsets don't get built when running `nix-build -A git.tests`, so we use the update operator to add the attributes from `tests.fetchgit` to `passthru.tests`.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/version-management/git-and-tools/git/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/git/default.nix b/pkgs/applications/version-management/git-and-tools/git/default.nix
index 9cab44840d4a3..3fd055e7148cb 100644
--- a/pkgs/applications/version-management/git-and-tools/git/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git/default.nix
@@ -375,8 +375,7 @@ stdenv.mkDerivation (finalAttrs: {
         doInstallCheck = true;
       });
       buildbot-integration = nixosTests.buildbot;
-      inherit (tests) fetchgit;
-    };
+    } // tests.fetchgit;
   };
 
   meta = {