wrap perl script with git dep
This commit is contained in:
parent
27f7f9bc90
commit
5601ed4ee4
@ -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" ];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user