haskellPackages.nvfetcher: add to top-level

This commit is contained in:
Potato Hatsue 2021-05-28 10:56:52 +08:00
parent 99e97c88f0
commit b29dc5253d
No known key found for this signature in database
GPG key ID: C4F93F1ED397E8CF
2 changed files with 10 additions and 0 deletions

View file

@ -123,6 +123,8 @@ extra-packages:
package-maintainers:
abbradar:
- Agda
berberman:
- nvfetcher
bdesham:
- pinboard-notes-backup
cdepillabout:

View file

@ -7138,6 +7138,14 @@ in
nvchecker = with python3Packages; toPythonApplication nvchecker;
nvfetcher = with haskell.lib; overrideCabal (justStaticExecutables haskellPackages.nvfetcher) (drv: {
executableToolDepends = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/nvfetcher \
--prefix PATH ":" "${nvchecker}/bin:${nix-prefetch-git}/bin"
'';
});
miller = callPackage ../tools/text/miller { };
milu = callPackage ../applications/misc/milu { };