nixpkgs/pkgs/build-support
sternenseemann b398d00903 trivial-builders: merge passAsFile with env in runCommand'
Previously it was awkward to use the runCommand-variants with
passAsFile as a double definition of passAsFile would potentially
break runCommand: passAsFile would overwrite the previous definition,
defeating the purpose of setting it in runCommand in the first place.
This is now fixed by concatenating the [ "buildCommand" ] list with
one the one from env, if present.

Adjust buildEnv where passAsFile = null; was passed in some cases,
breaking evaluation since it'd evaluate to [ "buildCommand" ] ++ null.
2021-03-18 19:56:40 +01:00
..
2021-01-24 01:49:49 +01:00
2021-01-24 01:49:49 +01:00
2021-01-20 09:11:11 +10:00
2020-10-24 16:43:05 +05:30
2021-01-27 13:01:51 +07:00
2021-01-27 13:01:51 +07:00
2021-03-08 15:51:24 +01:00
2021-01-27 13:01:51 +07:00
2020-12-08 23:55:31 +01:00
2021-02-20 21:13:46 +10:00
2021-01-27 13:01:51 +07:00
2021-01-24 01:49:49 +01:00
2021-01-24 01:49:49 +01:00
2021-03-05 18:14:34 +01:00