1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00

components.nix: Extract dependency scope

This avoids polluting nixComponents with things that aren't our
components.
Fixes the extraction of passthru tests, which failed for boehmgc
which had many irrelevant ones anyway.
This commit is contained in:
Robert Hensing 2024-06-26 03:58:47 +02:00
parent ebf77c79ae
commit 25dc12aab1
2 changed files with 11 additions and 7 deletions

View file

@ -5,12 +5,6 @@ in
# This becomes the pkgs.nixComponents attribute set
{
inherit stdenv versionSuffix;
libseccomp = pkgs.libseccomp_nix;
boehmgc = pkgs.boehmgc_nix;
libgit2 = pkgs.libgit2_nix;
busybox-sandbox-shell = pkgs.busybox-sandbox-shell or pkgs.default-busybox-sandbox-shell;
nix = callPackage ../package.nix { };
nix-util = callPackage ../src/libutil/package.nix { };