From aa48eda3d4f949e7f82bea49a6f7856a82a9e577 Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Wed, 28 Jun 2023 18:02:44 -0700 Subject: [PATCH] Build shell completions --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 37769bf..c1066b8 100644 --- a/flake.nix +++ b/flake.nix @@ -23,7 +23,9 @@ plist = final.haskell.lib.markUnbroken (final.haskell.lib.overrideSrc hprev.plist { src = plist-source; }); - ${name} = hfinal.callCabal2nix name ./. { }; + ${name} = hfinal.generateOptparseApplicativeCompletions + [ name ] + (hfinal.callCabal2nix name ./. { }); }); };