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 = ./.;
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" ];
};
});