mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-14 08:31:40 +03:00
Merge pull request #323988 from NyCodeGHG/gauge-patchelf
gauge: fix ruby and dotnet plugins
This commit is contained in:
commit
e9c63d27ca
@ -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/";
|
||||
|
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user