mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
makeGaugePlugin: add autoPatchelfHook
The ruby plugin is dynamically linked and requires patching.
(cherry picked from commit a691eb42d9)
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user