diff --git a/pkgs/by-name/ch/changelog-d/package.nix b/pkgs/by-name/ch/changelog-d/package.nix index 2bccb02a2eb2..10d4ad1ae355 100644 --- a/pkgs/by-name/ch/changelog-d/package.nix +++ b/pkgs/by-name/ch/changelog-d/package.nix @@ -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: {