mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
gaugePlugins.makeGaugePlugin: fix darwin build
Only use autoPatchelfHook on Linux
(cherry picked from commit ad16a8d052
)
This commit is contained in:
parent
2bffedab89
commit
3f7ddec0a2
@ -34,7 +34,7 @@ stdenvNoCC.mkDerivation (finalAttrs: (lib.recursiveUpdate {
|
|||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoPatchelfHook ];
|
nativeBuildInputs = lib.optional stdenvNoCC.hostPlatform.isLinux autoPatchelfHook;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/share/gauge-plugins/${pname}/${finalAttrs.version}"
|
mkdir -p "$out/share/gauge-plugins/${pname}/${finalAttrs.version}"
|
||||||
|
Loading…
Reference in New Issue
Block a user