1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
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