mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
openbsd.mkDerivation: add extraNativeBuildInputs
input
Some packages require extra hooks or tools. Rather than overriding all of the nativeBuildInputs and needing to specify all of them, add a field so that we just need to specify inputs that are not always required. Co-Authored-By: Audrey Dutcher <audrey@rhelmot.io>
This commit is contained in:
parent
62d8501eb8
commit
51a07b20cd
@ -53,7 +53,7 @@ lib.makeOverridable (
|
||||
install
|
||||
tsort
|
||||
lorder
|
||||
];
|
||||
] ++ (attrs.extraNativeBuildInputs or [ ]);
|
||||
|
||||
HOST_SH = stdenv'.shell;
|
||||
|
||||
@ -93,6 +93,6 @@ lib.makeOverridable (
|
||||
dontBuild = true;
|
||||
}
|
||||
// lib.optionalAttrs stdenv'.hostPlatform.isStatic { NOLIBSHARED = true; }
|
||||
// attrs
|
||||
// (builtins.removeAttrs attrs [ "extraNativeBuildInputs" ])
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user