-
-
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
Update packages from 23.05 to 23.11 #125
Closed
Closed
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
a11684b
Upgrade to postgresql 14.
jonathanlking 2ae5ce8
Update default version of GHC/Cabal versions
jonathanlking e1f4892
Remove postgrest from working set
jonathanlking 7436f71
[UPDATE BEFORE MERGING!] Update nixpkgs reference
jonathanlking f99f877
[UPDATE BEFORE MERGING!] Update nixpkgs reference (p11-kit)
jonathanlking 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
Submodule nixpkgs
updated
20432 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ in | |
])."${approach}", | ||
|
||
# When changing this, also change the default version of Cabal declared below | ||
compiler ? "ghc927", | ||
compiler ? "ghc948", | ||
|
||
# Tries to use `.a` files when evaluating TH, instead of `.so` files. | ||
useArchiveFilesForTemplateHaskell ? false, | ||
|
@@ -32,8 +32,9 @@ in | |
({ | ||
ghc8107 = "Cabal_3_2_1_0"; | ||
ghc902 = "Cabal_3_4_1_0"; | ||
ghc927 = "Cabal_3_6_3_0"; | ||
ghc962 = "Cabal_3_10_1_0"; | ||
ghc928 = "Cabal_3_6_3_0"; | ||
ghc948 = "Cabal_3_8_1_0"; | ||
ghc963 = "Cabal_3_10_1_0"; | ||
}."${compiler}"), | ||
|
||
# Use `integer-simple` instead of `integer-gmp` to avoid linking in | ||
|
@@ -634,12 +635,10 @@ let | |
# So somehow, the above `zlib_static` uses *this* `zlib`, even though | ||
# the above uses `previous.zlib.override` and thus shouldn't see this one. | ||
|
||
# The test-suite for PostgreSQL 13 fails: | ||
# https://github.com/NixOS/nixpkgs/issues/150930 | ||
# | ||
# Even if you disable the test-suite, there are various linking issues. | ||
# PostgreSQL 12 has similar issues, so we drop to PostgreSQL 11. | ||
postgresql = (previous.postgresql_11.overrideAttrs (old: { dontDisableStatic = true; })).override { | ||
# Disable failing tests for postgresql on musl that should have no impact | ||
# on the libpq that we need (collate.icu.utf8 and foreign regression tests) | ||
# This approach is copied from PostgREST, see https://github.com/PostgREST/postgrest/pull/2002/files#diff-72929db01d3c689277a1e7777b5df1dbbb20c5de41d1502ff8ac6b443a4e74c6R45 | ||
postgresql = (previous.postgresql_14.overrideAttrs (old: { dontDisableStatic = true; doCheck = false; })).override { | ||
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 copied this comment wholesale from PostgREST too. |
||
# We need libpq, which does not need systemd, | ||
# and systemd doesn't currently build with musl. | ||
enableSystemd = false; | ||
|
@@ -1659,7 +1658,7 @@ in | |
bench | ||
dhall | ||
dhall-json | ||
postgrest | ||
# postgrest # Dependency `configurator-pg-0.2.7` does not build due to `megaparsec >=7.0.0 && <9.3` (This is fixed in `configurator-pg- 0.2.8`) | ||
# proto3-suite # Dependency `proto3-wire-1.4.0` does not build due to `bytestring >=0.10.6.0 && <0.11.0` | ||
hsyslog # Small example of handling https://github.com/NixOS/nixpkgs/issues/43849 correctly | ||
# aura # `aur` maked as broken in nixpkgs, but works here with `allowBroken = true;` actually | ||
|
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 have started with your static-haskell-nix-nixos-23.05 branch, which included the following patches:
I then picked the current
nixos-23.11
(NixOS/nixpkgs@32f6357) and cherry-picked nh2/nixpkgs@9e49f8f1f37b on top.I have a
static-haskell-nix-nixos-23.11
branch on my fork, which you could just copy over to yours if you're happy with these changes — I find it a bit odd that GitHub already allows accessing the archive under your fork but 🤷♂️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 have also included NixOS/nixpkgs#278099 so that
p11-kit
(which is a dependency of many things, including ghc) builds on single-user install non-NixOS systems.