~fgaz/orchid

da5e317ea5d2fc6ac3ef6e42cbfb00180179e84f — Francesco Gazzetta 1 year, 6 months ago 4aff56f
Enable completions in nix package
1 files changed, 2 insertions(+), 1 deletions(-)

M default.nix
M default.nix => default.nix +2 -1
@@ 4,5 4,6 @@

let
  src = pkgs.nix-gitignore.gitignoreSource [".git"] ./.;
  pkg = pkgs.haskellPackages.callCabal2nix "orchid" src {};
  pkg = pkgs.haskell.lib.generateOptparseApplicativeCompletions ["orchid"]
        (pkgs.haskellPackages.callCabal2nix "orchid" src {});
in if onlyExe then pkgs.haskell.lib.justStaticExecutables pkg else pkg