Skip to content

Commit

Permalink
nix develop nixos-23.11, ghc948
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdbrock committed May 22, 2024
1 parent fbca98a commit b97e23b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 4 additions & 4 deletions flake.lock

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

8 changes: 3 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
description = "replace-megaparsec";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
inputs.flake-utils.url = "github:numtide/flake-utils";

outputs = inputs:
Expand All @@ -12,16 +12,14 @@
packageOverrides = hfinal: hprev:
prev.haskell.packageOverrides hfinal hprev // {
replace-megaparsec = hfinal.callCabal2nix "replace-megaparsec" ./. { };
# https://github.com/ddssff/listlike/issues/23
ListLike = prev.haskell.lib.dontCheck hprev.ListLike;
};
};
};
perSystem = system:
let
pkgs = import inputs.nixpkgs { inherit system; overlays = [ overlay ]; };
# hspkgs = pkgs.haskellPackages;
hspkgs = pkgs.haskell.packages.ghc944;
hspkgs = pkgs.haskellPackages;
# hspkgs = pkgs.haskell.packages.ghc944;
in
{
devShell = hspkgs.shellFor {
Expand Down

0 comments on commit b97e23b

Please sign in to comment.