nixpkgs/pkgs/build-support/trivial-builders/test
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
..
concat-test.nix
invoke-writeDirectReferencesToFile.nix
invoke-writeReferencesToFile.nix
link-farm.nix
references-test.sh
references.nix
sample.nix
write-shell-script.nix writeTextFile: chmod before checkPhase 2023-03-29 14:06:45 +02:00
write-text-file.nix
writeStringReferencesToFile.nix