Merge pull request #323988 from NyCodeGHG/gauge-patchelf

gauge: fix ruby and dotnet plugins
This commit is contained in:
Rick van Schijndel 2024-08-09 09:28:18 +02:00 committed by GitHub
commit e9c63d27ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -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/";

View File

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