mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +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:
parent
dd58d24fa6
commit
5ae18574fc
@ -22,7 +22,7 @@ makeWrapper() {
|
|||||||
local original=$1
|
local original=$1
|
||||||
local wrapper=$2
|
local wrapper=$2
|
||||||
local params varName value command separator n fileNames
|
local params varName value command separator n fileNames
|
||||||
local argv0 flagsBefore flags
|
local argv0 flagsBefore flags extraFlagsArray
|
||||||
|
|
||||||
mkdir -p "$(dirname $wrapper)"
|
mkdir -p "$(dirname $wrapper)"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user