summary refs log tree commit diff
path: root/pkgs/test
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-10-26 10:36:50 +0200
committerVladimír Čunát <v@cunat.cz>2023-10-26 10:36:50 +0200
commitd811555465785e76fc06872f4bb14d4dd1dfed8c (patch)
tree91db30ffe3553dcd7c9766c4163687f7b951dd16 /pkgs/test
parent7054a80f3b8061bd532e407f46f60e484a5e9a9c (diff)
parent0f8647b0c2bce447f8ce27428de242727104ffb0 (diff)
downloadnixpkgs-d811555465785e76fc06872f4bb14d4dd1dfed8c.tar
nixpkgs-d811555465785e76fc06872f4bb14d4dd1dfed8c.tar.gz
nixpkgs-d811555465785e76fc06872f4bb14d4dd1dfed8c.tar.bz2
nixpkgs-d811555465785e76fc06872f4bb14d4dd1dfed8c.tar.lz
nixpkgs-d811555465785e76fc06872f4bb14d4dd1dfed8c.tar.xz
nixpkgs-d811555465785e76fc06872f4bb14d4dd1dfed8c.tar.zst
nixpkgs-d811555465785e76fc06872f4bb14d4dd1dfed8c.zip
Merge branch 'staging' into staging-next
Diffstat (limited to 'pkgs/test')
-rw-r--r--pkgs/test/simple/builder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/test/simple/builder.sh b/pkgs/test/simple/builder.sh
index 908faec3c38..0b09a109bea 100644
--- a/pkgs/test/simple/builder.sh
+++ b/pkgs/test/simple/builder.sh
@@ -1,4 +1,4 @@
-if [ -e .attrs.sh ]; then source .attrs.sh; fi
+if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi
 set -x
 
 export NIX_DEBUG=1