static-haskell-nix
static-haskell-nix copied to clipboard
Update packages from 23.05 to 23.11
Updates nixpkgs to 23.11.
-
nix build --impure --expr '(import ./survey { useArchiveFilesForTemplateHaskell = true; }).working'
-
nix build --impure --expr '(import ./survey { }).working'
Completely succeed.
-
nix build --impure --expr '(import ./survey { compiler = "ghc963"; }).working'
succeeds except for:-
ShellCheck
andstack
(transitively) fail to build due tomtl < 2.3
. -
darcs
fails due tounix <2.8
.
-
Unfortunately the GHC 9.6 releases with enableShared = false
, which is set through useArchiveFilesForTemplateHaskell = true
, are still broken.
I think this could be the same issue as https://github.com/NixOS/nixpkgs/issues/208959#issuecomment-1646098256?
$ nix build --impure --expr '(import ./survey { compiler = "ghc963"; useArchiveFilesForTemplateHaskell = true; }).haskellPackages.ghc'
...
/---------------------------------------------------------\
| Successfully built program 'hp2ps' (Stage1). |
| Executable: _build/stage1/bin/hp2ps |
| Program synopsis: Heap Profile to PostScript converter. |
\---------------------------------------------------------/
| Run Ghc CompileHs Stage1: libraries/ghc-bignum/src/GHC/Num/Backend/Native.hs => _build/stage1/libraries/ghc-bignum/build/GHC/Num/Backend/Native.p_o
| Copy package 'ghc-prim'
# cabal-copy (for _build/stage1/lib/package.conf.d/ghc-prim-0.10.0.conf)
inished in 8m29s^GError, rule finished running but did not produce file:
_build/stage1/lib/x86_64-linux-ghc-9.6.3/libHSrts-1.0.2-ghc9.6.3.so
Build failed.
GHC 9.8.1 does seem to work though, i.e. nix build --impure --expr '(import ./survey { compiler = "ghc981"; useArchiveFilesForTemplateHaskell = true; }).haskellPackages.ghc'
.
cc @nh2