mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
14 lines
317 B
Bash
14 lines
317 B
Bash
|
source common.sh
|
||
|
|
||
|
rm -rf $TEST_ROOT/filterin
|
||
|
mkdir $TEST_ROOT/filterin
|
||
|
mkdir $TEST_ROOT/filterin/foo
|
||
|
touch $TEST_ROOT/filterin/foo/bar
|
||
|
touch $TEST_ROOT/filterin/xyzzy
|
||
|
|
||
|
$NIX_BIN_DIR/nix-build ./filter-source.nix -o $TEST_ROOT/filterout
|
||
|
|
||
|
set -x
|
||
|
test ! -e $TEST_ROOT/filterout/foo/bar
|
||
|
test -e $TEST_ROOT/filterout/xyzzy
|