Skip to content

Commit

Permalink
gaugePlugins.makeGaugePlugin: fix darwin build
Browse files Browse the repository at this point in the history
Only use autoPatchelfHook on Linux

(cherry picked from commit ad16a8d)
  • Loading branch information
NyCodeGHG committed Sep 9, 2024
1 parent 2bffeda commit 3f7ddec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/tools/gauge/plugins/make-gauge-plugin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,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}"
Expand Down

0 comments on commit 3f7ddec

Please sign in to comment.