fetchzip: take derivationArgs
This commit is contained in:
@@ -42,6 +42,11 @@ lib.extendMkDerivation {
|
|||||||
# an appropriate unpacking tool.
|
# an appropriate unpacking tool.
|
||||||
extension ? null,
|
extension ? null,
|
||||||
|
|
||||||
|
# Additional stdenvNoCC.mkDerivation arguments.
|
||||||
|
# It is typically for derived fetchers to pass down additional arguments,
|
||||||
|
# and the specified arguments have lower precedence than other mkDerivation arguments.
|
||||||
|
derivationArgs ? { },
|
||||||
|
|
||||||
# the rest are given to fetchurl as is
|
# the rest are given to fetchurl as is
|
||||||
...
|
...
|
||||||
}@args:
|
}@args:
|
||||||
@@ -110,7 +115,7 @@ lib.extendMkDerivation {
|
|||||||
# ^ Remove non-owner write permissions
|
# ^ Remove non-owner write permissions
|
||||||
# Fixes https://github.com/NixOS/nixpkgs/issues/38649
|
# Fixes https://github.com/NixOS/nixpkgs/issues/38649
|
||||||
|
|
||||||
derivationArgs = {
|
derivationArgs = derivationArgs // {
|
||||||
inherit
|
inherit
|
||||||
extension
|
extension
|
||||||
stripRoot
|
stripRoot
|
||||||
|
|||||||
Reference in New Issue
Block a user