!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

660 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure132 Servers

Load older messages


SenderMessageTime
10 Jun 2025
@maralorn:maralorn.demaralornNope15:40:37
@maralorn:maralorn.demaralornstdenv.targetPlatform.isJavascript15:40:55
@alexfmpe:matrix.orgalexfmpewhat15:41:08
@alexfmpe:matrix.orgalexfmpeoh are you checking on the compiler or on the package?15:41:26
@alexfmpe:matrix.orgalexfmpebecause for the package it's https://github.com/NixOS/nixpkgs/blob/50015e7b86465fd5bd10d79ffe9567b4483d6279/pkgs/development/haskell-modules/generic-builder.nix#L2415:41:33
@maralorn:maralorn.demaralornon the compiler15:41:37
@maralorn:maralorn.demaralornAh, I see.15:41:45
@alexfmpe:matrix.orgalexfmpethen it's shifted15:42:08
@alexfmpe:matrix.orgalexfmpeso there it's targetPlatform.isGhcjs15:42:15
@alexfmpe:matrix.orgalexfmpebecause the compiler targets the platform the package it compiles is ran/hosted on15:43:27
@alexfmpe:matrix.orgalexfmpedid I allucinate this? could have sworn it was the case but can't find it15:43:55
@maralorn:maralorn.demaralornI probably bricked that logic anyway by removing the reflex-plattform overrides15:45:43
@maralorn:maralorn.demaralorn * 15:45:55
@alexfmpe:matrix.orgalexfmpehttps://github.com/reflex-frp/reflex-platform/commit/93cb8ec441ebac3d68a9f982a1aa3ca55eb509e115:45:57
@alexfmpe:matrix.orgalexfmpethis is probably what confused me15:46:00
@maralorn:maralorn.demaralornOkay good to know. Now I know how to solve this properly. 🙏15:47:18
@alexfmpe:matrix.orgalexfmpeprobably not, though I was just wondering if the reflex-dom package should even have the jsaddle switch logic 15:48:21
@alexfmpe:matrix.orgalexfmpeafter all, miso or whatever needs the exact same cabal if pyramid and cpp imports no?15:48:55
@alexfmpe:matrix.orgalexfmpe shouldn't there be a jsaddle-cross or whatever where you always import your run :: JSM () -> IO () or so 15:49:18
@alexfmpe:matrix.orgalexfmpeand what that ends up as depends on platform and/or flags to that jsaddle package15:50:20
@dmjio:matrix.orgdmjio changed their display name from dmjio to dmjio 🍜.17:04:02
@dmjio:matrix.orgdmjio changed their display name from dmjio 🍜 to dmjio.17:05:03
@keypusher:matrix.orgkeypusher I have flake.nix that defines multiple packages. I wan't to launch a develop shell for a certain package (nix develop .#package-b), it seems it ignores the "nativeBuildInputs" in the "shellFor" declaration. Is there a way around this? 23:22:19
@keypusher:matrix.orgkeypusher * I have flake.nix that defines multiple packages. I want to launch a develop shell for a certain package (nix develop .#package-b), but it seems it ignores the "nativeBuildInputs" in the "shellFor" declaration. Is there a way around this? 23:22:49
11 Jun 2025
@cdepillabout:matrix.orgcdepillabout Can you post your code? In general I don't think things like nativeBuildInputs should be getting ignored. 00:19:00
@utdemir:matrix.org@utdemir:matrix.org left the room.02:09:16
@maralorn:maralorn.demaralornIs there anything keeping us from merging haskell-updates besides the listed breakage?07:20:13
@maralorn:maralorn.demaralornhls apparently needs a backport of the stylish-haskell pin from 9.12 to 9.1007:20:53
@maralorn:maralorn.demaralornAnd honestly I am gonna drop support for pandoc-crossref. 🤣 Probably easy very easy to fix but I haven’t used it in years.07:22:08
@maralorn:maralorn.demaralorn* And honestly I am gonna drop support for pandoc-crossref. 🤣 Probably easy to fix but I haven’t used it in years.08:19:35

Show newer messages


Back to Room ListRoom Version: 6