18 Oct 2024 |
chreekat | lol yeah | 08:41:31 |
chreekat | I remember at the time there was talk about having hackage "overlays". I actually thought it was kind of a neat idea. Stackage could be an overlay. But the "curated Hackage" could also be an overlay -- rather than the assumed default | 08:45:37 |
chreekat | Just idle talk at this point | 08:46:37 |
sterni | In reply to @b:chreekat.net this has existed for a long time. It's Stackage. :) idk I use stackage in the way it shouldn't i have too loose bounds and try to fix build errors when they occur in stackage instead of bit by bit loosening them :p | 09:23:50 |
sterni | Alex: figured out 8.10.7 riscv64 cross :) | 09:24:42 |
fgaz | I'm trying to build a project that depends on ghcjs-base with the js backend. I put ghcjs-base in executableHaskellDepends and called the package with pkgsCross.ghcjs.haskell.packages.ghc98.callPackage . However, the derivation contains no reference to ghcjs-base and the build fails with "Encountered missing or private dependencies: ghcjs-base". Is this a known issue? I couldn't find any nixpkgs ticket about this. | 12:20:50 |
fgaz | I just tried to build some packages that depend on ghcjs-base (for example pkgsCross.ghcjs.haskell.packages.ghc98.ghcjs-promise ) and they all have the same issue. | 12:24:03 |
fgaz | Apparently pkgsCross.ghcjs.haskell.packages.ghc98.ghcjs-base is null , despite it being defined in hackage-packages.nix | 12:31:38 |
fgaz | * Apparently pkgsCross.ghcjs.haskell.packages.ghc98.ghcjs-base is null , despite it being defined in hackage-packages.nix . And so is haskellPackages.ghcjs-base . | 12:40:42 |
alexfmpe | Is ghcjs-base even a thing on new js backend? | 12:43:23 |
alexfmpe | Wasn't that bundled with old ghcjs? | 12:44:23 |
maralorn | In reply to @fgaz:matrix.org Apparently pkgsCross.ghcjs.haskell.packages.ghc98.ghcjs-base is null , despite it being defined in hackage-packages.nix . And so is haskellPackages.ghcjs-base . Packages which are bundled with ghc get set to null in the configuration-ghc-x.y.nix file. Because they usually get compiled within and are provided from within the ghc build. | 12:46:23 |
maralorn | The fact that we even bother to set it to null makes me think that it still plays a role on the new backend, but I could be wrong. | 12:47:04 |
maralorn | Maybe that is simply a mistake and ghcjs-base does not exist for the new backend. Maybe you can find the person to ask by a blame on the override which sets it to null. | 12:48:04 |
fgaz | I don't think ghcjs-base is bundled in ghc. ghcjs-prim is. | 12:48:34 |
maralorn | huh, I can’t find that override. | 12:48:55 |
fgaz | same, that's why I'm confused | 12:49:21 |
maralorn | But still there are overrides for ghcjs-base in the ghcjs-9.x.nix file. | 12:49:27 |
maralorn | By alexfmpe 😄 | 12:50:00 |
maralorn | You have to know what’s up, you did it. 😄 | 12:50:12 |
fgaz | oh but i'm looking in a newer checkout | 12:50:16 |
fgaz | aha, looks like it was recently fixed. it didn't get to the channels yet | 12:50:44 |
fgaz | At least I think it was fixed... I'll know after I build ghcjs... again | 12:51:51 |
fgaz | * oh but i'm looking at a newer checkout, while before I was trying to build with the latest nixpkgs-unstable | 12:54:51 |
fgaz | * oh but i'm looking at a newer checkout, while before I was trying to build with the latest nixpkgs-unstable edit: nixos-23.05. NIX_PATH mistakes were made ^_^" | 13:42:12 |
fgaz | * aha, looks like it was recently fixed. it didn't get to the channels yet | 13:42:40 |
fgaz | * oh but i'm looking at a newer checkout, while before I was trying to build with the latest nixpkgs-unstable edit: nixos-24.05. NIX_PATH mistakes were made ^_^" | 13:42:55 |
alexfmpe | In reply to @maralorn:maralorn.de You have to know what’s up, you did it. 😄 That whole PR spree turned into a blur in my memory by now | 14:46:16 |
maralorn | completely understandable | 15:20:15 |
sterni | Alex: https://github.com/NixOS/nixpkgs/pull/349570 | 16:19:00 |