about summary refs log tree commit diff
path: root/pkgs/test/stdenv/default.nix
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-12-11 14:44:10 +0200
committerArtturin <Artturin@artturin.com>2022-12-12 21:39:56 +0200
commit60b1f09aa4e5e0a5c7fe95e72c323ba1a2471e08 (patch)
tree2f6db33272665d27bbd8c6a03051e538dd8414ec /pkgs/test/stdenv/default.nix
parentdaab80e08d43830c17b693f1b09eef1e2b59994c (diff)
tests.stdenv.hooks: add more tests
Diffstat (limited to 'pkgs/test/stdenv/default.nix')
-rw-r--r--pkgs/test/stdenv/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/test/stdenv/default.nix b/pkgs/test/stdenv/default.nix
index c9653b324eb97..b27fc25356a52 100644
--- a/pkgs/test/stdenv/default.nix
+++ b/pkgs/test/stdenv/default.nix
@@ -96,7 +96,7 @@ in
 
 {
   # tests for hooks in `stdenv.defaultNativeBuildInputs`
-  hooks = lib.recurseIntoAttrs (import ./hooks.nix { stdenv = bootStdenv; });
+  hooks = lib.recurseIntoAttrs (import ./hooks.nix { stdenv = bootStdenv; pkgs = earlyPkgs; });
 
   test-env-attrset = testEnvAttrset { name = "test-env-attrset"; stdenv' = bootStdenv; };
 
@@ -118,7 +118,7 @@ in
 
   structuredAttrsByDefault = lib.recurseIntoAttrs {
 
-    hooks = lib.recurseIntoAttrs (import ./hooks.nix { stdenv = bootStdenvStructuredAttrsByDefault; });
+    hooks = lib.recurseIntoAttrs (import ./hooks.nix { stdenv = bootStdenvStructuredAttrsByDefault; pkgs = earlyPkgs; });
 
     test-cc-wrapper-substitutions = ccWrapperSubstitutionsTest {
       name = "test-cc-wrapper-substitutions-structuredAttrsByDefault";