gaugePlugins.makeGaugePlugin: fix darwin build

Only use autoPatchelfHook on Linux
This commit is contained in:
Marie Ramlow 2024-08-20 09:05:46 +02:00
parent 73c318b001
commit ad16a8d052

View File

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