wrap perl script with git dep

This commit is contained in:
Aaron Bieber 2023-05-22 20:58:57 -06:00
parent 27f7f9bc90
commit 5601ed4ee4
No known key found for this signature in database

View File

@ -24,6 +24,7 @@
src = ./.; src = ./.;
buildInputs = with pkgs; [ buildInputs = with pkgs; [
git git
makeWrapper
]; ];
propagatedBuildInputs = with pkgs.perlPackages; [ propagatedBuildInputs = with pkgs.perlPackages; [
Mojolicious Mojolicious
@ -31,6 +32,10 @@
Git Git
]; ];
postInstall = ''
wrapProgram $out/bin/pr-status.pl --prefix PATH : ${nixpkgs.lib.makeBinPath [ pkgs.git ]}
'';
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
}; };
}); });