1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

stdenv/makeWrapper: make extraFlagsArray local

extraFlagsArray should not be exposed outside of `makeWrapper`, it
should only be possible to set it inside a script supplied via the
`--run` argument.
This commit is contained in:
Profpatsch 2016-10-07 15:56:07 +02:00
parent dd58d24fa6
commit 5ae18574fc

View file

@ -22,7 +22,7 @@ makeWrapper() {
local original=$1
local wrapper=$2
local params varName value command separator n fileNames
local argv0 flagsBefore flags
local argv0 flagsBefore flags extraFlagsArray
mkdir -p "$(dirname $wrapper)"