From 90c1cdd93f4f1e68a70a9bc8ad0185fc97be5923 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Wed, 3 Nov 2021 16:19:30 -0700 Subject: lib/tests/sources: update to Nix 2.4 cli syntax --- lib/tests/sources.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tests/sources.sh') diff --git a/lib/tests/sources.sh b/lib/tests/sources.sh index 71fee719cb21e..1f63cac5005af 100755 --- a/lib/tests/sources.sh +++ b/lib/tests/sources.sh @@ -26,7 +26,7 @@ touch {README.md,module.o,foo.bar} # nix-instantiate doesn't write out the source, only computing the hash, so # this uses the experimental nix command instead. -dir="$(nix eval --raw '(with import ; "${ +dir="$(nix eval --impure --raw --expr '(with import ; "${ cleanSource ./. }")')" (cd $dir; find) | sort -f | diff -U10 - <(cat <