Skip to content

Commit

Permalink
nix flake update
Browse files Browse the repository at this point in the history
Replace NixPkgs `haskell-updates` branch with the default branch to simplify
  • Loading branch information
peterbecich committed Jan 13, 2024
1 parent 95e6034 commit 17830c1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 27 deletions.
25 changes: 12 additions & 13 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 7 additions & 14 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/haskell-updates";
# nixpkgs.url = "github:nixos/nixpkgs/haskell-updates";
nixpkgs.url = "github:nixos/nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
haskell-flake.url = "github:srid/haskell-flake";
check-flake.url = "github:srid/check-flake";
Expand Down Expand Up @@ -33,25 +34,17 @@
purescript-bridge.check = false;
example.check = true;
# https://community.flake.parts/haskell-flake/dependency#nixpkgs
floskell = { super, ... }:
{ custom = _: super.floskell_0_11_0; };
aeson = { super, ... }:
{ custom = _: super.aeson_2_2_1_0; };
aeson-pretty = { super, ... }:
{ custom = _: super.aeson-pretty_0_8_10; };
# aeson = { super, ... }:
# { custom = _: super.aeson_2_2_1_0; };
};
packages = {
attoparsec-aeson.source = "2.2.0.1";
servant.source = "0.20.1";
servant-server.source = "0.20";
th-abstraction.source = "0.5.0.0";
http-conduit.source = "2.3.8.3";
# servant.source = "0.20.1";
};
devShell = {
enable = true;
tools = haskellPackages: {
# disable until NixPkgs-available Floskell compatible with Aeson 2.2
haskell-language-server = null;
# how to disable a package
# haskell-language-server = null;
inherit (haskellPackages) zlib stylish-haskell;
};
hlsCheck.enable = false;
Expand Down

0 comments on commit 17830c1

Please sign in to comment.