!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

729 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.org146 Servers

Load older messages


SenderMessageTime
19 Apr 2025
@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
21 Apr 2025
@megmug:matrix.org@megmug:matrix.org left the room.11:25:41
22 Apr 2025
@sternenseemann:systemli.orgsterni (he/him)I'm currently finishing the broken list and am going to merge after that.08:52:40
@sternenseemann:systemli.orgsterni (he/him)Any further fixes can probably relatively easily be done on staging(-next)08:52:56
@sternenseemann:systemli.orgsterni (he/him)* I'm currently finishing the broken list and am going to merge after that. Going to take a minute since I manually need to check the queued jobs.08:53:20
@hellwolf:matrix.orghellwolf

hurray!

I would invite everyone to have a second look at the diff of 1909d9a. We can still fix packages that are worth fixing on staging (within reason, i.e. another hackage bump on there is rather difficult).

pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml: "+450-19"

Am I reading right that there are 400+ more borken packages because of the 9.8?

10:15:10
@hellwolf:matrix.orghellwolfhttps://github.com/cdepillabout/nix-haskell-updates-status "Top 50 broken packages, sorted by number of reverse dependencies" Is this the place to start to look for the culprits?10:17:02

Show newer messages


Back to Room ListRoom Version: 6