forked from unisonweb/unison
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There were two Nixpkgs inputs, with one being used solely to get a particular version of Stack. This now “compromises” on the same release of Nixpkgs as used for Stack, but from the haskell.nix project to have a consistent package set. There are also a few other version bumps here (because once you change an uncached input, you might as well upgrade everything): - bump LTS to 22.43 (GHC 9.6.6 from 9.6.5) - bump HLS to 2.9 (this is now transitively included via the haskell.nix input) - bump hpack to 0.36.0 (this is actually the minimum bound for the version of Stack we use, so the previous setting was inconsistent)
- Loading branch information
Showing
7 changed files
with
84 additions
and
77 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"haskell.toolchain": { | ||
"cabal": "3.10.3.0", | ||
"hls": "2.8.0.0", | ||
"hls": "2.9.0.0", | ||
"stack": "2.15.7" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
{nixpkgs-release}: final: prev: let | ||
pinned-pkgs = import nixpkgs-release {inherit (final) system;}; | ||
in { | ||
stack = pinned-pkgs.stack; | ||
|
||
final: prev: { | ||
## See https://docs.haskellstack.org/en/stable/nix_integration/#supporting-both-nix-and-non-nix-developers for an | ||
## explanation of this package. | ||
stack-wrapped = final.symlinkJoin { | ||
name = "stack"; # will be available as the usual `stack` in terminal | ||
paths = [final.stack]; | ||
## explanation of this derivation. | ||
stack = final.symlinkJoin { | ||
inherit (prev.stack) version; | ||
name = "stack"; | ||
paths = [prev.stack]; | ||
buildInputs = [final.makeWrapper]; | ||
postBuild = '' | ||
wrapProgram $out/bin/stack \ | ||
--add-flags "\ | ||
--no-nix \ | ||
--system-ghc \ | ||
--no-install-ghc \ | ||
" | ||
wrapProgram $out/bin/stack --add-flags "--no-nix --system-ghc --no-install-ghc" | ||
''; | ||
}; | ||
} |
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