!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

724 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org145 Servers

Load older messages


SenderMessageTime
19 Apr 2025
@alexfmpe:matrix.orgalexfmpenope, and I can't reproduce either16:14:56
@alexfmpe:matrix.orgalexfmpepackage is unchanged on hackage since 201916:15:07
@alexfmpe:matrix.orgalexfmpemaybe something else was borked? or bit flip I dunno16:15:25
@maralorn:maralorn.demaralornMy intuition was that we added some new hydra job which creates an invalid combination.16:19:22
@alexfmpe:matrix.orgalexfmpeoh wait a sec16:20:50
@alexfmpe:matrix.orgalexfmpethat's the native build16:20:57
@alexfmpe:matrix.orgalexfmpe
         hostPlatform.config = "x86_64-unknown-linux-gnu"
         package.meta.platforms = [
           "javascript-ghcjs"
         ]
         package.meta.badPlatforms = [ ]
16:21:58
@alexfmpe:matrix.orgalexfmpeshouldn't it, like, not try to eval?16:22:30
@maralorn:maralorn.demaralornWell the problem is that it has a dependency which doesn't eval.16:26:10
@maralorn:maralorn.demaralornSo the correct solution seems to be to restrict the plattforms of miso-action-logger if that's factually correct.16:27:09
@alexfmpe:matrix.orgalexfmpebut they are?16:27:32
@alexfmpe:matrix.orgalexfmpethe error message says so16:27:43
@alexfmpe:matrix.orgalexfmpe

building locally I also get

  a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1
16:28:04
@maralorn:maralorn.demaralorn
In reply to @alexfmpe:matrix.org
but they are?
No, the error message is showing a part of the ghcjs-base derivation. The miso-action-logger derivation has no restrictions.
16:31:32
@alexfmpe:matrix.orgalexfmpeoooh16:31:44
@maralorn:maralorn.demaralornI wonder if we have to null ghcjs-base or something...16:32:22
@alexfmpe:matrix.orgalexfmpeI'll try a few things16:32:50
@alexfmpe:matrix.orgalexfmpeIIRC miso itself didn't build for native in nixpkgs until recently, because cabal would find no libraries or anything after going through the conditionals16:33:33
@alexfmpe:matrix.orgalexfmpeit just built for me now though, technically was cached16:33:53
@alexfmpe:matrix.orgalexfmpethink that was changed by the 1.8.7 release16:34:13
@alexfmpe:matrix.orgalexfmpenot enough because the package always unconditionally declares the dependency and imports from it16:37:43
@alexfmpe:matrix.orgalexfmpehttps://github.com/Lermex/miso-action-logger/issues/116:38:02
@alexfmpe:matrix.orgalexfmpeI'll just flag as ghcjs only16:38:08
@alexfmpe:matrix.orgalexfmpesomeone put up a PR for this on large-records just 2 hours ago, but still needs sanity check so I'm not leaning towards even applying as patch until it's reviewed I don't think we should block merge to staging on it, can just be PR'd directly to staging if upstream rubber stamps without an immediate release?16:45:09
@alexfmpe:matrix.orgalexfmpe https://github.com/well-typed/large-records/pull/17116:45:16
@alexfmpe:matrix.orgalexfmpehttps://github.com/NixOS/nixpkgs/pull/40012116:54:25
@alexfmpe:matrix.orgalexfmpehey we broke 400k16:54:29
@sternenseemann:systemli.orgsterni (he/him)agree & agree & agree18:40:27
@alexfmpe:matrix.orgalexfmpe changed their profile picture.23:55:28
20 Apr 2025
@maralorn:maralorn.demaralorn
In reply to @emilazy:matrix.org
the 23rd is the nominal breaking change deadline and I assume there are breaking changes here
If no one else does, I will finalize our merge on Tuesday.
23:03:04

Show newer messages


Back to Room ListRoom Version: 6