changelog-d: Add shell completions

This commit is contained in:
Robert Hensing 2023-11-19 13:17:23 +01:00
parent eb8dafd288
commit 9f4a3df2e7

View File

@ -8,7 +8,13 @@
let
hsPkg = haskellPackages.changelog-d;
haskellModifications = haskell.lib.justStaticExecutables;
addCompletions = haskellPackages.generateOptparseApplicativeCompletions ["changelog-d"];
haskellModifications =
lib.flip lib.pipe [
addCompletions
haskell.lib.justStaticExecutables
];
mkDerivationOverrides = finalAttrs: oldAttrs: {