mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
trivial: fix pkgs.writeText test to pass string
Passing a non-string value and relying on pkgs.writeText to implicitly call builtins.toString is incorrect.
This commit is contained in:
parent
294f7a767f
commit
d544b1259a
|
@ -2,7 +2,7 @@
|
|||
let
|
||||
stri = writeText "pathToTest";
|
||||
txt1 = stri "abc";
|
||||
txt2 = stri hello;
|
||||
txt2 = stri (builtins.toString hello);
|
||||
res = concatText "textToTest" [ txt1 txt2 ];
|
||||
in
|
||||
runCommand "test-concatPaths" { } ''
|
||||
|
|
Loading…
Reference in a new issue