!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
27 Apr 2025
@sternenseemann:systemli.orgsterni (he/him)We have, what where you trying to build?09:51:07
@sternenseemann:systemli.orgsterni (he/him)* We have, what were you trying to build?09:51:12
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @sternenseemann:systemli.org
We have, what where you trying to build?
a ghc bindist tarball that runs on loongarch64 of course
09:51:41
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)Generating the tarball just needs some cutoff before installPhase, so omit this now09:52:27
@sternenseemann:systemli.orgsterni (he/him)It would be nice if we could just pass in a stage0 cross compiler, but unfortunately libraries need to be built with stage1 (“So in order to use the stage 1 compiler to build libs-install, we must be able to run it”). I wonder whether this assumption could be eliminated eventually, compiler and libs are tied very closely together, but it would be nice if it'd work as long as you use the same version or something.09:53:14
@sternenseemann:systemli.orgsterni (he/him)specifically what derivation.09:53:32
@sternenseemann:systemli.orgsterni (he/him)* specifically what derivation?09:53:35
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @sternenseemann:systemli.org
specifically what derivation.
Ideally pkgsCross.loongarch64-linux.haskell.compilers.ghc94
09:54:23
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)ghc98409:54:32
@sternenseemann:systemli.orgsterni (he/him) That would set finalStage = Stage2 if the assert were removed. ghc94 would also do Stage2. 09:57:52
@sternenseemann:systemli.orgsterni (he/him)Can't really tell you why you are seeing just stage1, though since you are obviously working on some kind of wip tree?09:58:28
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @sternenseemann:systemli.org
Can't really tell you why you are seeing just stage1, though since you are obviously working on some kind of wip tree?
No, I'm working on nixpkgs master
09:58:44
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @sternenseemann:systemli.org
That would set finalStage = Stage2 if the assert were removed. ghc94 would also do Stage2.
I'm building the cross compiler, yes, just didn't know this can be changed
09:59:31
@alexfmpe:matrix.orgalexfmpeI want to remove a lib.warn from a derivation, AFAICT that causes no rebuilds whatsoever so does it go to master so it gets merged back into staging-next and haskell-updates?11:31:05
@alexfmpe:matrix.orgalexfmpe* I want to remove a lib.warn from a derivation, AFAICT that causes no rebuilds whatsoever should it go to master so that it gets merged back into staging-next and haskell-updates?11:31:22
@maralorn:maralorn.demaralornA Haskell lib?11:36:30
@maralorn:maralorn.demaralornimo you can do whatever you want. Small changes which cause little rebuilds are always allowed to go to master in our new paradigm.11:37:08
@maralorn:maralorn.demaralornMerging to haskell-updates is always fine.11:37:27
@alex:tunstall.xyzAlex
In reply to @aleksana:mozilla.org
Generating the tarball just needs some cutoff before installPhase, so omit this now
Nixpkgs outputs can be used as is by using nix-copy-closure or nix copy to upload them to the target machine.
If you need a tarball, there is also nix-store --export or nix nar pack.
13:19:23
@alexfmpe:matrix.orgalexfmpehuh I messed up and force pushed the remove warning to haskell-updates instead of to my branch but AFAICT was rebased properly so all that happened is I removed the warning directly on haskell-updates instead of doing a PR against it16:53:33
@maralorn:maralorn.demaralornWe have branch protection, so afaik you couldn't have pushed it if it wasn't a forward.17:11:08
@alexfmpe:matrix.orgalexfmpeI think the force bit in force push is lazy17:58:57
@denizalpd:matrix.org@denizalpd:matrix.org left the room.18:00:29
28 Apr 2025
@charlotte:vanpetegem.mechvp left the room.14:30:17
29 Apr 2025
@ortolanbunting3002:tchncs.deortolanbunting3002 joined the room.01:26:35
@woobilicious:matrix.orgwoobilicious man I'm having this super weird issue where typed-process in ghci via nix-shell has the Process type, but nix shell for my haskell script doesn't 06:15:28
@alex:tunstall.xyzAlex
In reply to @woobilicious:matrix.org
man I'm having this super weird issue where typed-process in ghci via nix-shell has the Process type, but nix shell for my haskell script doesn't
Different Nixpkgs versions?
07:03:34
@woobilicious:matrix.orgwoobiliciousshould be the same version, I think it's just a quirk of the package, I was using it to pattern match so I just changed my code, which was required for the next step anyway.07:08:52
@woobilicious:matrix.orgwoobiliciousConverting a bash script to Haskell just because I can lol.07:10:36
@malteneuss:matrix.org@malteneuss:matrix.org joined the room.08:48:25

Show newer messages


Back to Room ListRoom Version: 6