pinboard-notes-backup: justStaticExecutables, move overrides
Should reduce closure size and reduce the difference between top-level and haskellPackages version of pinboard-notes-backup.
This commit is contained in:
parent
75f01ec909
commit
917524cb39
@ -848,4 +848,13 @@ self: super: builtins.intersectAttrs super {
|
||||
export PATH=dist/build/stutter:$PATH
|
||||
'' + (drv.preCheck or "");
|
||||
});
|
||||
|
||||
# Install man page and generate shell completions
|
||||
pinboard-notes-backup = overrideCabal
|
||||
(generateOptparseApplicativeCompletion "pnbackup" super.pinboard-notes-backup)
|
||||
(drv: {
|
||||
postInstall = ''
|
||||
install -D man/pnbackup.1 $out/share/man/man1/pnbackup.1
|
||||
'' + (drv.postInstall or "");
|
||||
});
|
||||
}
|
||||
|
@ -23793,14 +23793,7 @@ in
|
||||
|
||||
pinboard = with python3Packages; toPythonApplication pinboard;
|
||||
|
||||
pinboard-notes-backup = haskell.lib.overrideCabal
|
||||
(haskell.lib.generateOptparseApplicativeCompletion "pnbackup"
|
||||
haskellPackages.pinboard-notes-backup)
|
||||
(drv: {
|
||||
postInstall = ''
|
||||
install -D man/pnbackup.1 $out/share/man/man1/pnbackup.1
|
||||
'' + (drv.postInstall or "");
|
||||
});
|
||||
pinboard-notes-backup = haskell.lib.justStaticExecutables haskellPackages.pinboard-notes-backup;
|
||||
|
||||
pixelnuke = callPackage ../applications/graphics/pixelnuke { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user