Merge pull request #13533 from valeriangalliat/allow-go-reference
buildGoPackage: do not remove Go references if allowGoReferences is true
This commit is contained in:
commit
af39abcb9f
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ if disabled then throw "${name} not supported for go ${go.meta.branch}" else
|
|||
let
|
||||
args = lib.filterAttrs (name: _: name != "extraSrcs") args';
|
||||
|
||||
removeReferences = [ go ];
|
||||
removeReferences = [ ] ++ lib.optional (!allowGoReference) go;
|
||||
|
||||
removeExpr = refs: lib.flip lib.concatMapStrings refs (ref: ''
|
||||
| sed "s,${ref},$(echo "${ref}" | sed "s,$NIX_STORE/[^-]*,$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,"),g" \
|
||||
|
|
Loading…
Reference in a new issue