nixpkgs/pkgs/build-support/trivial-builders
Naïm Favier e6f19ea429
writeTextFile: chmod before checkPhase
Set the executable bit before running the check phase, so that the check
phase can run the script to test its behaviour.

This aligns with what `concatTextFile` is doing.

Also use explicit `if` statements so that we don't silently ignore
`chmod` failures.
2023-03-29 14:06:45 +02:00
..
test writeTextFile: chmod before checkPhase 2023-03-29 14:06:45 +02:00
test-overriding.nix tests.trivial-builders.overriding: update after shellDryRun 2021-12-27 20:30:01 -05:00