!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

680 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/138 Servers

Load older messages


SenderMessageTime
10 Jun 2025
@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.orgutdemir 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
@maralorn:maralorn.demaralornOkay, I fixed everything but the gi-soup breakage. Still unclear to me how we can fix that.08:27:40
@maralorn:maralorn.demaralornYou were right, I accidentally disabled that by commenting out the reflex-packages overrides.10:13:17
@ners:nixos.devners

I'm trying to build a statically linked Haskell executable using pkgsStatic. If I'm understanding release-haskell.nix correctly, this derivation and all its deps should be cached: pkgsStatic.haskell.packages.native-bignum.ghc984.hello

I expect it to pull it from cache, but instead it starts building GHC from source. Am I missing something about how we cache things?

18:59:15
@maralorn:maralorn.demaralornrelease-haskell.nix applies to haskell-updates. release.nix applies to master.19:02:13
@maralorn:maralorn.demaralornDoes that help?^^19:19:38
12 Jun 2025
@root:sandwitch.devSand Witch
In reply to @ners:nixos.dev

I'm trying to build a statically linked Haskell executable using pkgsStatic. If I'm understanding release-haskell.nix correctly, this derivation and all its deps should be cached: pkgsStatic.haskell.packages.native-bignum.ghc984.hello

I expect it to pull it from cache, but instead it starts building GHC from source. Am I missing something about how we cache things?

BTW, ghc 9.6 and higher are broken on pkgsStatic: https://github.com/NixOS/nixpkgs/issues/275304
07:34:49
@ners:nixos.devners
In reply to @maralorn:maralorn.de
Does that help?^^
Yes that worked! Thank you. :)
07:43:40
@mangoiv.:matrix.orgMangoIV
In reply to @root:sandwitch.dev
BTW, ghc 9.6 and higher are broken on pkgsStatic: https://github.com/NixOS/nixpkgs/issues/275304
More specifically, the issue
is that any Hadrian-built GHC is broken, iirc
12:40:52
15 Jun 2025
@ahihi:matrix.orgpulu changed their profile picture.16:28:40
@t4ccer:matrix.orgt4ccer left the room.19:06:54

Show newer messages


Back to Room ListRoom Version: 6