about summary refs log tree commit diff
path: root/pkgs/test
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-01-18 18:39:39 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-01-18 18:41:27 +0100
commit0259a8b94d2ae450b59f3ef99151c1c25de81629 (patch)
tree2f3871d4549d336b30e8279f29d9edb7f8cd6a1e /pkgs/test
parent37c764638b12415096dd361d878fd409d8dac599 (diff)
downloadnixlib-0259a8b94d2ae450b59f3ef99151c1c25de81629.tar
nixlib-0259a8b94d2ae450b59f3ef99151c1c25de81629.tar.gz
nixlib-0259a8b94d2ae450b59f3ef99151c1c25de81629.tar.bz2
nixlib-0259a8b94d2ae450b59f3ef99151c1c25de81629.tar.lz
nixlib-0259a8b94d2ae450b59f3ef99151c1c25de81629.tar.xz
nixlib-0259a8b94d2ae450b59f3ef99151c1c25de81629.tar.zst
nixlib-0259a8b94d2ae450b59f3ef99151c1c25de81629.zip
nixpkgs-check-by-name/scripts: Use local Nixpkgs for dependencies
Especially needed because NIX_PATH is set to something custom in the
nix-shell of nixpkgs-check-by-name
Diffstat (limited to 'pkgs/test')
-rwxr-xr-xpkgs/test/nixpkgs-check-by-name/scripts/run-local.sh2
-rwxr-xr-xpkgs/test/nixpkgs-check-by-name/scripts/update-pinned-tool.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/test/nixpkgs-check-by-name/scripts/run-local.sh b/pkgs/test/nixpkgs-check-by-name/scripts/run-local.sh
index 46cbd5e858e2..1dd52293cc7e 100755
--- a/pkgs/test/nixpkgs-check-by-name/scripts/run-local.sh
+++ b/pkgs/test/nixpkgs-check-by-name/scripts/run-local.sh
@@ -1,5 +1,5 @@
 #!/usr/bin/env nix-shell
-#!nix-shell -i bash -p jq
+#!nix-shell -i bash -p jq -I nixpkgs=../../../..
 
 set -o pipefail -o errexit -o nounset
 
diff --git a/pkgs/test/nixpkgs-check-by-name/scripts/update-pinned-tool.sh b/pkgs/test/nixpkgs-check-by-name/scripts/update-pinned-tool.sh
index dbc6e91df08a..b2bc629e8660 100755
--- a/pkgs/test/nixpkgs-check-by-name/scripts/update-pinned-tool.sh
+++ b/pkgs/test/nixpkgs-check-by-name/scripts/update-pinned-tool.sh
@@ -1,5 +1,5 @@
 #!/usr/bin/env nix-shell
-#!nix-shell -i bash -p jq
+#!nix-shell -i bash -p jq -I nixpkgs=../../../..
 
 set -o pipefail -o errexit -o nounset