10 Jun 2025 |
maralorn | Nope | 15:40:37 |
maralorn | stdenv.targetPlatform.isJavascript | 15:40:55 |
alexfmpe | what | 15:41:08 |
alexfmpe | oh are you checking on the compiler or on the package? | 15:41:26 |
alexfmpe | because for the package it's https://github.com/NixOS/nixpkgs/blob/50015e7b86465fd5bd10d79ffe9567b4483d6279/pkgs/development/haskell-modules/generic-builder.nix#L24 | 15:41:33 |
maralorn | on the compiler | 15:41:37 |
maralorn | Ah, I see. | 15:41:45 |
alexfmpe | then it's shifted | 15:42:08 |
alexfmpe | so there it's targetPlatform.isGhcjs | 15:42:15 |
alexfmpe | because the compiler targets the platform the package it compiles is ran/hosted on | 15:43:27 |
alexfmpe | did I allucinate this? could have sworn it was the case but can't find it | 15:43:55 |
maralorn | I probably bricked that logic anyway by removing the reflex-plattform overrides | 15:45:43 |
maralorn | * | 15:45:55 |
alexfmpe | https://github.com/reflex-frp/reflex-platform/commit/93cb8ec441ebac3d68a9f982a1aa3ca55eb509e1 | 15:45:57 |
alexfmpe | this is probably what confused me | 15:46:00 |
maralorn | Okay good to know. Now I know how to solve this properly. 🙏 | 15:47:18 |
alexfmpe | probably not, though I was just wondering if the reflex-dom package should even have the jsaddle switch logic | 15:48:21 |
alexfmpe | after all, miso or whatever needs the exact same cabal if pyramid and cpp imports no? | 15:48:55 |
alexfmpe | shouldn't there be a jsaddle-cross or whatever where you always import your run :: JSM () -> IO () or so | 15:49:18 |
alexfmpe | and what that ends up as depends on platform and/or flags to that jsaddle package | 15:50:20 |
| dmjio changed their display name from dmjio to dmjio 🍜. | 17:04:02 |
| dmjio changed their display name from dmjio 🍜 to dmjio. | 17:05:03 |
keypusher | 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 | * 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 | Can you post your code? In general I don't think things like nativeBuildInputs should be getting ignored. | 00:19:00 |
| @utdemir:matrix.org left the room. | 02:09:16 |
maralorn | Is there anything keeping us from merging haskell-updates besides the listed breakage? | 07:20:13 |
maralorn | hls apparently needs a backport of the stylish-haskell pin from 9.12 to 9.10 | 07:20:53 |
maralorn | And 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 | * 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 |