| 9 Oct 2025 |
| Banana Poop changed their profile picture. | 14:54:27 |
m1-s | After upgrading nix version from 2.28.4 -> 2.28.5 I am getting this error:
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'ghc-shell-for-packages-0'
whose name attribute is located at /nix/store/yhvvk386srxffsd7369j28lkfaav1bwp-source/pkgs/stdenv/generic/make-derivation.nix:480:13
… while evaluating attribute 'NIX_GHC' of derivation 'ghc-shell-for-packages-0'
at /nix/store/yhvvk386srxffsd7369j28lkfaav1bwp-source/pkgs/development/haskell-modules/generic-builder.nix:999:13:
998| ) "${buildPackages.glibcLocales}/lib/locale/locale-archive";
999| "NIX_${ghcCommandCaps}" = "${ghcEnv}/bin/${ghcCommand}";
| ^
1000| "NIX_${ghcCommandCaps}PKG" = "${ghcEnv}/bin/${ghcCommand}-pkg";
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: builder for '/nix/store/7wdsyrqbm6dna640gz7sibp4i66cr9xz-cabal2nix-yesod-form.drv' failed with exit code 1;
last 3 log lines:
> *** parsing cabal file: /nix/store/kbv83vqvvc3gczpfz84jycrcp00yx81y-source/yesod-form/yesod-form: withBinaryFile: does not exist (No such file or directory)
> $ nix-prefetch-url --unpack file:///nix/store/kbv83vqvvc3gczpfz84jycrcp00yx81y-source/yesod-form
> cabal2nix: nix-prefetch-url: createProcess: posix_spawnp: does not exist (No such file or directory)
For full logs, run:
nix log /nix/store/7wdsyrqbm6dna640gz7sibp4i66cr9xz-cabal2nix-yesod-form.drv
Any known solution?
| 19:30:50 |
maralorn | Are you sure this is because of a nix update? Seems kinda unlikely. | 19:32:31 |
maralorn | Can you share the command you ran? | 19:32:49 |
maralorn | Maybe a tree listing of /nix/store/kbv83vqvvc3gczpfz84jycrcp00yx81y-source can be informative. | 19:34:26 |
m1-s | I had declared the flake input as github:yesodweb/yesod?dir=yesod-form and it seems that this notation has changed with the nix version update. https://github.com/NixOS/nix/pull/12801
So not related to haskell. Thanks for the quick reaction!
| 19:49:49 |
| 10 Oct 2025 |
ivy | the cabal2nix shell keeps failing because it keeps compiling ghc then filling my computer | 02:28:39 |
maralorn | sterni: Wolfgang Walther I had an insanely busy last two weeks and my boss just decided to give our huge infra structure update (ghcjs 8.6 -> ghc+wasm 9.12) into production this evening. So I am rather confident that I won’t succeed doing anything on our PR. | 15:57:03 |
maralorn | But I guess we are kinda flying blind because of a rebuild right now anyway? | 15:58:39 |
sterni (he/him) | I fixed everything except for HLS pretty much 🫠 | 18:25:52 |
maralorn | And how broken is that?^^ | 18:26:20 |
maralorn | As in is that hls 2.11 or 2.12? | 18:27:07 |
maralorn | Hm, still 2.11. So I wasn’t really expecting any breakage. | 18:37:54 |
maralorn | But we will see. | 18:37:58 |
| dotlambda joined the room. | 21:10:44 |
dotlambda | Where does haskellPackages.hledger_1_50 come from? Does stackage have two versions of hledger or do we always have the pinned or the most recent version? | 21:12:09 |
dotlambda | Is it possible to make it use hledger-lib_1_50? | 21:12:39 |
maralorn | dotlambda: https://nixos.org/manual/nixpkgs/unstable/#haskell-available-versions | 21:15:14 |
dotlambda | If I make a PR removing the pin on hledger, which branch should I target? | 21:18:25 |
dotlambda | I guess I can't remove it because it's pinned on stackage | 21:24:06 |
dotlambda | In reply to @robert:funklause.de Is it possible to make it use hledger-lib_1_50? Still, this would be nice in order to unbreak hledger_1_50 | 21:24:41 |
maralorn | dotlambda: compare: https://github.com/NixOS/nixpkgs/issues/190542 | 21:24:49 |
maralorn | Are you currently trying to fix a build error? | 21:25:08 |
maralorn | I am slightly confused about the problem. | 21:25:17 |
dotlambda | In reply to @maralorn:maralorn.de Are you currently trying to fix a build error? Yes. Try building haskellPackages.hledger_1_50. It fails because it needs hledger-lib_1_50. | 21:26:22 |
maralorn | Yeah, makes sense. | 21:26:37 |
maralorn | Yeah, you would need to manually override hledger to use the correct hledger-lib version. Belongs into configuration-common.nix. Would be fine to open against master. | 21:27:40 |
maralorn | Alternatively you remove the stackage pinning from hledger. Which by the issue I linked has been requested multiple times. | 21:28:13 |
dotlambda | In reply to @maralorn:maralorn.de Alternatively you remove the stackage pinning from hledger. Which by the issue I linked has been requested multiple times. That might break something that depends on hledger, not sure | 21:28:53 |
maralorn | Yeah, totally. | 21:29:19 |