Skip to content

Commit e9c63d2

Browse files
authored
Merge pull request #323988 from NyCodeGHG/gauge-patchelf
gauge: fix ruby and dotnet plugins
2 parents 8c2c517 + 49626e8 commit e9c63d2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

pkgs/development/tools/gauge/plugins/dotnet/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{ lib
22
, makeGaugePlugin
33
, gauge-unwrapped
4+
, stdenv
45
}:
56

67
makeGaugePlugin {
@@ -11,6 +12,8 @@ makeGaugePlugin {
1112
releasePrefix = "gauge-dotnet-";
1213
isCrossArch = true;
1314

15+
buildInputs = [ stdenv.cc.cc.lib ];
16+
1417
meta = {
1518
description = "Gauge plugin that lets you write tests in C#";
1619
homepage = "https://github.com/getgauge/gauge-dotnet/";

pkgs/development/tools/gauge/plugins/make-gauge-plugin.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
, fetchzip
33
, lib
44
, writeScript
5+
, autoPatchelfHook
56
}:
67

78
{ pname
@@ -33,6 +34,8 @@ stdenvNoCC.mkDerivation (finalAttrs: (lib.recursiveUpdate {
3334
stripRoot = false;
3435
};
3536

37+
nativeBuildInputs = [ autoPatchelfHook ];
38+
3639
installPhase = ''
3740
mkdir -p "$out/share/gauge-plugins/${pname}/${finalAttrs.version}"
3841
cp -r . "$out/share/gauge-plugins/${pname}/${finalAttrs.version}"

0 commit comments

Comments
 (0)