Skip to content

Commit

Permalink
update Nix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
raehik committed Oct 1, 2024
1 parent f92db74 commit 74496ba
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
19 changes: 18 additions & 1 deletion flake.lock

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

13 changes: 12 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
haskell-flake.url = "github:srid/haskell-flake";
rerefined.url = "github:raehik/rerefined";
rerefined.flake = false;
};
outputs = inputs:
let
Expand All @@ -24,18 +26,27 @@
devShells.default = self'.devShells.ghc98;
haskellProjects.ghc910 = {
basePackages = pkgs.haskell.packages.ghc910;
devShell = defDevShell "ghc910";
packages.finite-typelits.source = "0.2.1.0";
packages.vector-sized.source = "1.6.1";
settings.defun-core.jailbreak = true;
devShell = defDevShell "ghc910";

# waiting on nixpkgs
packages.rerefined.source = inputs.rerefined;
};
haskellProjects.ghc98 = {
basePackages = pkgs.haskell.packages.ghc98;
devShell = defDevShell "ghc98";

# waiting on nixpkgs
packages.rerefined.source = inputs.rerefined;
};
haskellProjects.ghc96 = {
basePackages = pkgs.haskell.packages.ghc96;
devShell = defDevShell "ghc96";

# waiting on nixpkgs
packages.rerefined.source = inputs.rerefined;
};
};
};
Expand Down

0 comments on commit 74496ba

Please sign in to comment.