-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump to nixpkgs-21.11 #111
Closed
Closed
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
27ae28d
Bump nixpkgs.nix to pin to nixos-21.11 commit 573095944e7.
cdepillabout 49fce8d
Bump nixpkgs submodule to be on 21.11.
cdepillabout b92d824
Make sure the nixpkgs submodule is looking at NixOS/nixpkgs.
cdepillabout dbe55ac
Get the basic example working with 21.11.
cdepillabout 9c4227e
Add more ghc to cabal version mappings.
cdepillabout 2b08698
Bump to ghc-8.10.7. Nixpkgs is on LTS-18.16.
cdepillabout b3f4744
postgresl's tests fail when building with musl, so disable postgrest …
cdepillabout f30e2f5
Apparently there is a curlMinimal top-level derivation now, which als…
cdepillabout 6e3e1df
brotli support was added to curl and it needs to be explicitly disabl…
cdepillabout 4b1f174
Make sure static archives symlinks are created for openblas.
cdepillabout 4fa209c
Make sure blas-ffi uses openblasCompat.
cdepillabout 83b1822
Disable stackage executable magico because of gfortran linking error.
cdepillabout d41b96a
Disable stackage packages that depend on postgres.
cdepillabout 1b57af7
Make sure libdevil has libdeflate as buildInput.
cdepillabout 3d0be9a
Drop to postgresql-11 and re-enable all Haskell packages that use pos…
cdepillabout File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,3 +1,3 @@ | ||
[submodule "nixpkgs"] | ||
path = nixpkgs | ||
url = https://github.com/nh2/nixpkgs.git | ||
url = https://github.com/NixOS/nixpkgs.git | ||
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,6 +1,6 @@ | ||
# Note: This is just a minimal example. For proper usage, see the README. | ||
|
||
{ nixpkgs ? (import ./nixpkgs.nix).pkgsMusl, compiler ? "ghc864", strip ? true }: | ||
{ nixpkgs ? (import ./nixpkgs.nix).pkgsMusl, compiler ? "ghc8107", strip ? true }: | ||
|
||
|
||
let | ||
|
@@ -12,7 +12,7 @@ let | |
pname = "example-scotty-app"; | ||
version = "0.1.0.0"; | ||
src = pkgs.lib.sourceByRegex ./. [ | ||
".*\.cabal$" | ||
".*\\.cabal$" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this extra escape is necessary. |
||
"^Setup.hs$" | ||
"^Main.hs$" | ||
]; | ||
|
@@ -21,7 +21,7 @@ let | |
enableSharedExecutables = false; | ||
enableSharedLibraries = false; | ||
executableHaskellDepends = [ base scotty ]; | ||
license = stdenv.lib.licenses.bsd3; | ||
license = pkgs.lib.licenses.bsd3; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
configureFlags = [ | ||
"--ghc-option=-optl=-static" | ||
"--extra-lib-dirs=${pkgs.gmp6.override { withStatic = true; }}/lib" | ||
|
@@ -37,7 +37,6 @@ let | |
haskellPackages = with pkgs.haskell.lib; normalHaskellPackages.override { | ||
overrides = self: super: { | ||
# Dependencies we need to patch | ||
hpc-coveralls = appendPatch super.hpc-coveralls (builtins.fetchurl https://github.com/guillaume-nargeot/hpc-coveralls/pull/73/commits/344217f513b7adfb9037f73026f5d928be98d07f.patch); | ||
}; | ||
}; | ||
|
||
|
Submodule nixpkgs
updated
13163 files
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the submodule here to point to
NixOS/nixpkgs
instead ofnh2/nixpkgs
.I'm not very familiar with Git submodules, and I did this while trying to get everything working. If necessary I can change this back.