gaugePlugins.makeGaugePlugin: fix darwin build

Only use autoPatchelfHook on Linux

(cherry picked from commit ad16a8d052)
This commit is contained in:
Marie Ramlow 2024-08-20 09:05:46 +02:00
parent 2bffedab89
commit 3f7ddec0a2

View File

@ -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}"