mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
gaugePlugins.makeGaugePlugin: fix darwin build
Only use autoPatchelfHook on Linux
This commit is contained in:
parent
73c318b001
commit
ad16a8d052
@ -35,7 +35,7 @@ stdenvNoCC.mkDerivation (finalAttrs: (lib.recursiveUpdate {
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
nativeBuildInputs = lib.optional stdenvNoCC.hostPlatform.isLinux autoPatchelfHook;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share/gauge-plugins/${pname}/${finalAttrs.version}"
|
||||
|
Loading…
Reference in New Issue
Block a user