mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
* Allow the location of the store etc. to be specified using
environment variables. * Started adding some automatic tests. * Do a `make check' when building RPMs.
This commit is contained in:
parent
fd927c5d25
commit
256eeab711
9 changed files with 86 additions and 13 deletions
11
tests/simple.builder.sh
Normal file
11
tests/simple.builder.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue