Skip to content

Commit

Permalink
Merge pull request #1 from adetokunbo/update-nix-dev-env
Browse files Browse the repository at this point in the history
Updates the haskell.nix development pin
  • Loading branch information
adetokunbo authored Jan 17, 2024
2 parents 24b2f7f + f0b7c5b commit 56ac8bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ in
compiler-nix-name = "ghc928";

# Specify the hackage index state
index-state = "2023-07-20T00:00:00Z";
index-state = "2023-11-24T00:00:00Z";
}
7 changes: 4 additions & 3 deletions h8x.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
let
# Pin haskell-nix to a recent (as of 2023/07/20) commit
h8x-pin = "https://github.com/input-output-hk/haskell.nix/archive/3ae883bb7864ba85c3aab30f8f488b9a7d84afc8.tar.gz";
# Pin haskell-nix to a recent (as of 2023/11/24) commit
h8x-commit = "c6e3c91844e91f86cb64015258eed2ed8545d2a9";
h8x-pin = "https://github.com/input-output-hk/haskell.nix/archive/${h8x-commit}.tar.gz";
h8x-src = builtins.fetchTarball h8x-pin;
h8x = import h8x-src {};

Expand All @@ -11,7 +12,7 @@ in
# hence you will be more likely to get cache hits when using these. But you
# can also just use your own, e.g. '<nixpkgs>'.

h8x.sources.nixpkgs-2305
h8x.sources.nixpkgs-unstable

# These arguments passed to nixpkgs, include some patches and also the
# haskell.nix functionality itself as an overlay.
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ in
hlint = "latest"; # Selects the latest version in the hackage.nix snapshot
haskell-language-server = "latest";
ghcid = "latest";
fourmolu = "latest";
fourmolu = "0.14.0.0";
cabal-fmt = "latest";
};
# See overlays/tools.nix for more details
Expand Down

0 comments on commit 56ac8bd

Please sign in to comment.