wrap perl script with git dep
This commit is contained in:
parent
27f7f9bc90
commit
5601ed4ee4
@ -24,6 +24,7 @@
|
||||
src = ./.;
|
||||
buildInputs = with pkgs; [
|
||||
git
|
||||
makeWrapper
|
||||
];
|
||||
propagatedBuildInputs = with pkgs.perlPackages; [
|
||||
Mojolicious
|
||||
@ -31,6 +32,10 @@
|
||||
Git
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/pr-status.pl --prefix PATH : ${nixpkgs.lib.makeBinPath [ pkgs.git ]}
|
||||
'';
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user