Test string semantics a bit more
This commit is contained in:
parent
d7625b5c2d
commit
b08f4b0da9
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
|||
[ "${input1: -2}" = /. ]
|
||||
[ "${input2: -2}" = /. ]
|
||||
|
||||
mkdir $out
|
||||
echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@ let {
|
|||
|
||||
input2 = mkDerivation {
|
||||
name = "dependencies-input-2";
|
||||
builder = ./dependencies.builder2.sh;
|
||||
builder = "${./dependencies.builder2.sh}";
|
||||
};
|
||||
|
||||
body = mkDerivation {
|
||||
name = "dependencies";
|
||||
builder = ./dependencies.builder0.sh + "/FOOBAR/../.";
|
||||
builder = ./dependencies.builder0.sh + "/FOOBAR/../.";
|
||||
input1 = input1 + "/.";
|
||||
inherit input2;
|
||||
input2 = "${input2}/.";
|
||||
meta.description = "Random test package";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue