Skip to content

Commit

Permalink
Adapt flake to nix 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
maralorn committed Mar 21, 2022
1 parent 5c2c55f commit 4bd9d76
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
};
in rec
{
defaultPackage = packages.nix-output-monitor;
packages = {
nix-output-monitor =
default =
haskell.lib.overrideCabal
(haskellPackages.callCabal2nix "nix-output-monitor" ./. {})
{
Expand Down Expand Up @@ -54,7 +53,7 @@
};
};
devShell = haskellPackages.shellFor {
packages = _: [defaultPackage];
packages = _: [packages.default];
buildInputs = [inputs.pre-commit-hooks.defaultPackage.${system} haskellPackages.haskell-language-server];
withHoogle = true;
inherit (self.checks.${system}.pre-commit-check) shellHook;
Expand Down

0 comments on commit 4bd9d76

Please sign in to comment.