-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
131 additions
and
40 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
pkgs: { | ||
# disable local project options (always do this for package sets) | ||
defaults.packages = {}; | ||
devShell.enable = false; | ||
autoWire = []; | ||
|
||
basePackages = pkgs.haskell.packages.ghc92; | ||
packages = { | ||
# GHC 9.2 libraries | ||
singletons-th.source = "3.1"; | ||
singletons-base.source = "3.1"; | ||
singletons.source = "3.0.1"; # req because singletons-th-3.1 had bad bounds | ||
th-desugar.source = "1.13.1"; | ||
th-abstraction.source = "0.4.5.0"; | ||
}; | ||
|
||
# (note this is actually unused/we have to duplicate because it doesn't get | ||
# packed into basePackages or any key we can use... but nice to document here) | ||
devShell = { | ||
tools = hp: { | ||
# by default, haskell-flake uses the Haskell packages versions of these | ||
# tools (from hp). be warned, these can be a pain to build alternatively, | ||
# you may use nixpkgs versions via pkgs | ||
|
||
# as of 2024-09-13 nixpkgs-unstable can't build cabal-install on GHC 9.2. | ||
# no problem, use nixpkgs version (shouldn't really matter how built) | ||
cabal-install = pkgs.cabal-install; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
pkgs: { | ||
# disable local project options (always do this for package sets) | ||
defaults.packages = {}; | ||
devShell.enable = false; | ||
autoWire = []; | ||
|
||
basePackages = pkgs.haskell.packages.ghc94; | ||
packages = { | ||
# GHC 9.4 libraries | ||
singletons-th.source = "3.1.1"; | ||
singletons-base.source = "3.1.1"; | ||
#singletons.source = "3.0.1"; | ||
th-desugar.source = "1.14"; | ||
th-abstraction.source = "0.4.5.0"; | ||
}; | ||
|
||
# (note this is actually unused/we have to duplicate because it doesn't get | ||
# packed into basePackages or any key we can use... but nice to document here) | ||
devShell = { | ||
tools = hp: { | ||
# by default, haskell-flake uses the Haskell packages versions of these | ||
# tools (from hp). be warned, these can be a pain to build alternatively, | ||
# you may use nixpkgs versions via pkgs | ||
|
||
# as of 2024-09-13 nixpkgs-unstable can't build cabal-install on GHC 9.4. | ||
# no problem, use nixpkgs version (shouldn't really matter how built) | ||
cabal-install = pkgs.cabal-install; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters