one_gadget: wrap with binutils in path
This commit is contained in:
parent
790aa985e3
commit
05ae00f98d
@ -1,10 +1,16 @@
|
|||||||
{ lib, bundlerApp, bundlerUpdateScript }:
|
{ lib, binutils, bundlerApp, bundlerUpdateScript, makeWrapper }:
|
||||||
|
|
||||||
bundlerApp {
|
bundlerApp {
|
||||||
pname = "one_gadget";
|
pname = "one_gadget";
|
||||||
gemdir = ./.;
|
gemdir = ./.;
|
||||||
exes = [ "one_gadget" ];
|
exes = [ "one_gadget" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
wrapProgram $out/bin/one_gadget --prefix PATH : ${binutils}/bin
|
||||||
|
'';
|
||||||
|
|
||||||
passthru.updateScript = bundlerUpdateScript "one_gadget";
|
passthru.updateScript = bundlerUpdateScript "one_gadget";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user