cc-wrapper: add-{flags,hardening} -> add-{flags,hardening}.sh

This commit is contained in:
Robin Gloster 2016-08-23 15:17:32 +00:00
parent b4cc9bd63a
commit 335d0097cf
3 changed files with 2 additions and 2 deletions

View File

@ -237,8 +237,8 @@ stdenv.mkDerivation {
cat $out/nix-support/setup-hook.tmp >> $out/nix-support/setup-hook
rm $out/nix-support/setup-hook.tmp
substituteAll ${./add-flags} $out/nix-support/add-flags.sh
cp -p ${./add-hardening} $out/nix-support/add-hardening.sh
substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
cp -p ${./add-hardening.sh} $out/nix-support/add-hardening.sh
cp -p ${./utils.sh} $out/nix-support/utils.sh
''
+ extraBuildCommands;