forked from lix-project/lix
dd7c2e0695
Unless `--precise` is passed, make `nix why-depends` only show the dependencies between the store paths, without introspecting them to find the actual references. This also makes it ~3x faster
16 lines
274 B
Bash
16 lines
274 B
Bash
[ "${input1: -2}" = /. ]
|
|
[ "${input2: -2}" = /. ]
|
|
|
|
mkdir $out
|
|
echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
|
|
|
|
ln -s $input2 $out/reference-to-input-2
|
|
|
|
# Self-reference.
|
|
ln -s $out $out/self
|
|
|
|
# Executable.
|
|
echo program > $out/program
|
|
chmod +x $out/program
|
|
|
|
echo FOO
|