mirror of
https://github.com/NixOS/nix.git
synced 2024-11-30 02:32:26 +00:00
11 lines
190 B
Bash
11 lines
190 B
Bash
echo "PATH=$PATH"
|
|
|
|
# Verify that the PATH is empty.
|
|
if mkdir foo 2> /dev/null; then exit 1; fi
|
|
|
|
# Set a PATH (!!! impure).
|
|
export PATH=$goodPath
|
|
|
|
mkdir $out
|
|
|
|
echo "Hello World!" > $out/hello |