mirror of
https://github.com/nmattia/niv.git
synced 2024-11-07 22:36:53 +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 ./.;
|
niv-source = gitignoreSource ./.;
|
||||||
haskellPackages = pkgs.haskellPackages.override
|
haskellPackages = pkgs.haskellPackages.override
|
||||||
{ overrides = _: haskellPackages:
|
{ 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;
|
niv = haskellPackages.niv;
|
||||||
|
Loading…
Reference in New Issue
Block a user