mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
c6290e42bc
* Fix the substitutes tests.
18 lines
216 B
Bash
Executable file
18 lines
216 B
Bash
Executable file
# Set a PATH (!!! impure).
|
|
export PATH=/bin:/usr/bin:$PATH
|
|
|
|
mkdir $out
|
|
|
|
cat > $out/substituter <<EOF
|
|
#! /bin/sh -ex
|
|
echo \$*
|
|
|
|
case \$* in
|
|
*)
|
|
exit 1
|
|
;;
|
|
esac
|
|
EOF
|
|
|
|
chmod +x $out/substituter
|
|
|