Skip to content

Commit ea61d11

Browse files
committed
Update nixpkgs to latest master
1 parent 3d49955 commit ea61d11

File tree

3 files changed

+26
-22
lines changed

3 files changed

+26
-22
lines changed

.buildkite/pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ steps:
4242
4343
# Different GHC versions
4444

45-
- label: 8.6.5 -A working
45+
- label: 8.8.1 -A working
4646
command: |
4747
NIX_PATH=nixpkgs=nixpkgs nix-build --no-link survey/default.nix \
48-
--argstr compiler ghc865 -A working
48+
--argstr compiler ghc881 -A working
4949
50-
- label: 8.6.5 -A workingStackageExecutables
50+
- label: 8.8.1 -A workingStackageExecutables
5151
command: |
5252
NIX_PATH=nixpkgs=nixpkgs nix-build --no-link survey/default.nix \
53-
--argstr compiler ghc865 -A workingStackageExecutables
53+
--argstr compiler ghc881 -A workingStackageExecutables
5454
5555
# Stack via stack2nix
5656

nixpkgs

Submodule nixpkgs updated 10139 files

survey/default.nix

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,16 @@ in
3232
])."${approach}",
3333

3434
# When changing this, also change the default version of Cabal declared below
35-
compiler ? "ghc864",
35+
compiler ? "ghc865",
3636

3737
defaultCabalPackageVersionComingWithGhc ?
3838
({
3939
ghc822 = "Cabal_2_2_0_1"; # TODO this is technically incorrect for ghc 8.2.2, should be 2.0.1.0, but nixpkgs doesn't have that
4040
ghc844 = "Cabal_2_2_0_1";
4141
ghc863 = throw "static-haskell-nix: ghc863 is no longer supported, please upgrade";
42-
ghc864 = "Cabal_2_4_1_0"; # TODO this is technically incorrect for ghc 8.6.4, should be 2.4.0.1, but nixpkgs doesn't have that
42+
ghc864 = throw "static-haskell-nix: ghc863 is no longer supported, please upgrade";
4343
ghc865 = "Cabal_2_4_1_0"; # TODO this is technically incorrect for ghc 8.6.5, should be 2.4.0.1, but nixpkgs doesn't have that
44+
ghc881 = "Cabal_3_0_0_0";
4445
}."${compiler}"),
4546

4647
# Use `integer-simple` instead of `integer-gmp` to avoid linking in
@@ -562,21 +563,7 @@ let
562563
zlib_both = statify_zlib previous.zlib;
563564
# Also override the original packages with a throw (which as of writing
564565
# has no effect) so we can know when the bug gets fixed in the future.
565-
acl = issue_61682_throw "acl" previous.acl;
566-
attr = issue_61682_throw "attr" previous.attr;
567-
bash = issue_61682_throw "bash" previous.bash;
568-
coreutils = issue_61682_throw "coreutils" previous.coreutils;
569-
diffutils = issue_61682_throw "diffutils" previous.diffutils;
570-
findutils = issue_61682_throw "findutils" previous.findutils;
571-
gawk = issue_61682_throw "gawk" previous.gawk;
572-
gnugrep = issue_61682_throw "gnugrep" previous.gnugrep;
573-
gnumake = issue_61682_throw "gnumake" previous.gnumake;
574-
gnupatch = issue_61682_throw "gnupatch" previous.gnupatch;
575-
gnused = issue_61682_throw "gnused" previous.gnused;
576-
gnutar = issue_61682_throw "gnutar" previous.gnutar;
577-
gzip = issue_61682_throw "gzip" previous.gzip;
578-
patchelf = issue_61682_throw "patchelf" previous.patchelf;
579-
xz = issue_61682_throw "xz" previous.xz;
566+
# [previously there were overrides here, but they stopped working, read below]
580567
# For unknown reason we can't do this check on `zlib`, because if we do, we get:
581568
#
582569
# while evaluating the attribute 'zlib_static' at /home/niklas/src/haskell/static-haskell-nix/survey/default.nix:498:5:
@@ -591,6 +578,23 @@ let
591578
# https://github.com/nh2/static-haskell-nix/issues/47.
592579
#bzip2 = issue_61682_throw "bzip2" previous.bzip2;
593580
#pcre = issue_61682_throw "pcre" previous.pcre;
581+
# Since the update to nixpkgs master for #61 also for these,
582+
# see https://github.com/NixOS/nixpkgs/issues/61682#issuecomment-544215621
583+
#acl = issue_61682_throw "acl" previous.acl;
584+
#attr = issue_61682_throw "attr" previous.attr;
585+
#bash = issue_61682_throw "bash" previous.bash;
586+
#coreutils = issue_61682_throw "coreutils" previous.coreutils;
587+
#diffutils = issue_61682_throw "diffutils" previous.diffutils;
588+
#findutils = issue_61682_throw "findutils" previous.findutils;
589+
#gawk = issue_61682_throw "gawk" previous.gawk;
590+
#gnugrep = issue_61682_throw "gnugrep" previous.gnugrep;
591+
#gnumake = issue_61682_throw "gnumake" previous.gnumake;
592+
#gnupatch = issue_61682_throw "gnupatch" previous.gnupatch;
593+
#gnused = issue_61682_throw "gnused" previous.gnused;
594+
#gnutar = issue_61682_throw "gnutar" previous.gnutar;
595+
#gzip = issue_61682_throw "gzip" previous.gzip;
596+
#patchelf = issue_61682_throw "patchelf" previous.patchelf;
597+
#xz = issue_61682_throw "xz" previous.xz;
594598

595599
postgresql = (previous.postgresql.overrideAttrs (old: { dontDisableStatic = true; })).override {
596600
# We need libpq, which does not need systemd,

0 commit comments

Comments
 (0)