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