diff --git a/pkgs/development/tools/gauge/plugins/dotnet/default.nix b/pkgs/development/tools/gauge/plugins/dotnet/default.nix index 7cf99f2e7b4f0..2b79004073eca 100644 --- a/pkgs/development/tools/gauge/plugins/dotnet/default.nix +++ b/pkgs/development/tools/gauge/plugins/dotnet/default.nix @@ -1,6 +1,7 @@ { lib , makeGaugePlugin , gauge-unwrapped +, stdenv }: makeGaugePlugin { @@ -11,6 +12,8 @@ makeGaugePlugin { releasePrefix = "gauge-dotnet-"; isCrossArch = true; + buildInputs = [ stdenv.cc.cc.lib ]; + meta = { description = "Gauge plugin that lets you write tests in C#"; homepage = "https://github.com/getgauge/gauge-dotnet/"; diff --git a/pkgs/development/tools/gauge/plugins/make-gauge-plugin.nix b/pkgs/development/tools/gauge/plugins/make-gauge-plugin.nix index 116effa45b14f..81fbff823802d 100644 --- a/pkgs/development/tools/gauge/plugins/make-gauge-plugin.nix +++ b/pkgs/development/tools/gauge/plugins/make-gauge-plugin.nix @@ -2,6 +2,7 @@ , fetchzip , lib , writeScript +, autoPatchelfHook }: { pname @@ -33,6 +34,8 @@ stdenvNoCC.mkDerivation (finalAttrs: (lib.recursiveUpdate { stripRoot = false; }; + nativeBuildInputs = [ autoPatchelfHook ]; + installPhase = '' mkdir -p "$out/share/gauge-plugins/${pname}/${finalAttrs.version}" cp -r . "$out/share/gauge-plugins/${pname}/${finalAttrs.version}"