mirror of
https://github.com/NixOS/nix.git
synced 2024-11-30 02:32:26 +00:00
2d5114452d
derivation attribute.
10 lines
145 B
Bash
10 lines
145 B
Bash
mkdir $out
|
|
echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
|
|
|
|
ln -s $input2 $out/input-2
|
|
|
|
# Self-reference.
|
|
ln -s $out $out/self
|
|
|
|
echo FOO
|