Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-24.05] gauge: fix ruby and dotnet plugins #333385

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkgs/development/tools/gauge/plugins/dotnet/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, makeGaugePlugin
, gauge-unwrapped
, stdenv
}:

makeGaugePlugin {
Expand All @@ -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/";
Expand Down
3 changes: 3 additions & 0 deletions pkgs/development/tools/gauge/plugins/make-gauge-plugin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, fetchzip
, lib
, writeScript
, autoPatchelfHook
}:

{ pname
Expand Down Expand Up @@ -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}"
Expand Down