mirror of
https://github.com/nmattia/niv.git
synced 2024-09-05 20:15:26 +03:00
Add completions and disable profiling
This commit is contained in:
parent
652b763b79
commit
26c7f9104b
@ -8,7 +8,12 @@ with rec
|
||||
niv-source = gitignoreSource ./.;
|
||||
haskellPackages = pkgs.haskellPackages.override
|
||||
{ overrides = _: haskellPackages:
|
||||
{ niv = haskellPackages.callCabal2nix "niv" niv-source {}; };
|
||||
{ niv =
|
||||
pkgs.haskell.lib.disableExecutableProfiling (
|
||||
pkgs.haskell.lib.disableLibraryProfiling (
|
||||
pkgs.haskell.lib.generateOptparseApplicativeCompletion "niv" (
|
||||
haskellPackages.callCabal2nix "niv" niv-source {})));
|
||||
};
|
||||
};
|
||||
|
||||
niv = haskellPackages.niv;
|
||||
|
Loading…
Reference in New Issue
Block a user