mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-02 18:36:15 +02:00
256eeab711
environment variables. * Started adding some automatic tests. * Do a `make check' when building RPMs.
11 lines
No EOL
187 B
Bash
11 lines
No EOL
187 B
Bash
echo "PATH=$PATH"
|
|
|
|
# Verify that the PATH is empty.
|
|
if mkdir foo; then exit 1; fi
|
|
|
|
# Set a PATH (!!! impure).
|
|
export PATH=/bin:/usr/bin:$PATH
|
|
|
|
mkdir $out
|
|
|
|
echo "Hello World!" > $out/hello |