mirror of
https://github.com/nmattia/niv.git
synced 2024-12-01 15:56:03 +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