!RbXGJhHMsnQcNIDFWN:nixos.org

Nix Haskell

611 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 infrastructure123 Servers

Load older messages


SenderMessageTime
14 Oct 2024
@alexfmpe:matrix.orgalexfmpeor 99.9 ?19:12:05
@alexfmpe:matrix.orgalexfmpeguess 12.2 is the first plausible "uh oh" ?19:12:46
@rosscomputerguy:matrix.orgTristan Ross
In reply to @maralorn:maralorn.de
Well, the problem is that I wrote that policy in an attempt to shortcut the survey thing, in the hope that it would reach the same people.
Yeah, a policy based on a survey would be best. Has there been any updates on getting a survey out?
19:13:21
@hellwolf:matrix.orghellwolf

Also, this is my new observation:

(haskell.compiler.${ghcVer}.override { enableDocs = false; }) triggers a cache miss, I guess the nix expression is not optimal in that docs disabled shouldn't cause a rebuild ghcVer from the previous ghcVer

19:31:42
@hellwolf:matrix.orghellwolf *

Also, this is my new observation:

(haskell.compiler.${ghcVer}.override { enableDocs = false; }) triggers a cache miss, I guess the nix expression is not optimal in that docs disabled shouldn't cause a rebuild ghcVer from the previous ghcVer.

Downloading everything is still better than rebuilding.. so I fallback

19:32:16
@hellwolf:matrix.orghellwolf *

Also, this is my new observation:

(haskell.compiler.${ghcVer}.override { enableDocs = false; }) triggers a cache miss, I guess the nix expression is not optimal in that docs disabled shouldn't cause a rebuild ghcVer from the previous ghcVer.

Downloading more from cache is still better than rebuilding.. so I fallback

19:32:36
@hellwolf:matrix.orghellwolf *

Also, this is my new observation:

(haskell.compiler.${ghcVer}.override { enableDocs = false; }) mises the cache, I guess the nix expression is not optimal in that docs disabled shouldn't cause a rebuild ghcVer from the previous ghcVer.

Downloading more from cache is still better than rebuilding.. so I fallback

19:32:57
@hellwolf:matrix.orghellwolf *

Also, this is my new observation:

(haskell.compiler.${ghcVer}.override { enableDocs = false; }) mises the cache -> I guess the nix expression is not optimal in that docs disabled shouldn't cause a rebuild ghcVer from the previous ghcVer.

Downloading more from cache is still better than rebuilding.. so I fallback

19:33:01
@fgaz:matrix.orgfgaz hellwolf: I recently wrote https://sr.ht/~fgaz/get-tested4nix/ to automate this kind of setup, you might find it useful 19:35:48
@emilazy:matrix.orgemily
In reply to @hellwolf:matrix.org

Also, this is my new observation:

(haskell.compiler.${ghcVer}.override { enableDocs = false; }) mises the cache -> I guess the nix expression is not optimal in that docs disabled shouldn't cause a rebuild ghcVer from the previous ghcVer.

Downloading more from cache is still better than rebuilding.. so I fallback

what you want would require ca-derivations at the least
19:40:20
@emilazy:matrix.orgemilyor, hm, maybe i misunderstand19:40:30
@hellwolf:matrix.orghellwolf
In reply to @fgaz:matrix.org
hellwolf: I recently wrote https://sr.ht/~fgaz/get-tested4nix/ to automate this kind of setup, you might find it useful
Very cool, I will check it out.
19:47:00
@hellwolf:matrix.orghellwolf
In reply to @emilazy:matrix.org
what you want would require ca-derivations at the least
what I meant is that I expected the docs and the binary are independent derivations, and the parent derivation simply combines them. Hence, when I don't want docs, it shouldn't trigger a rebuild of the ghc binary.
19:48:29
@emilazy:matrix.orgemilyright19:49:12
@emilazy:matrix.orgemilyI don't know how easy GHC's build system makes that19:49:18
@maralorn:maralorn.demaralorn
In reply to @alexfmpe:matrix.org
guess 12.2 is the first plausible "uh oh" ?
Huh, I guess we need to lobby ghchq to bump to 10 before 9.20. 😄
20:07:25
@alexfmpe:matrix.orgalexfmpeI just want non associative versioning20:08:46
@alexfmpe:matrix.orgalexfmpeHow hard can it be to add _ or whatever delimiter20:09:09
@maralorn:maralorn.demaralornWell, no that hard. But probably harder than convincing upstream that it would be pain. 😄20:09:43
@maralorn:maralorn.demaralornNo, we should probably just do it. I actually even had a reasonable replacement strategy. It just would need to be implemented.20:10:40
@maralorn:maralorn.demaralorn * Well, not that hard. But probably harder than convincing upstream that it would be pain. 😄20:10:48
@hellwolf:matrix.orghellwolfwhat would make GHC 10 instaed of GHC 9?20:12:12
@hellwolf:matrix.orghellwolfmaybe that would be the right timing for cleaning up this technical debt?20:12:27
@emilazy:matrix.orgemily
In reply to @alexfmpe:matrix.org
How hard can it be to add _ or whatever delimiter
FWIW, pkg-name_ver_sion is the Nixpkgs standard
20:13:39
@emilazy:matrix.orgemilybut of course many things do not follow it20:13:44
@emilazy:matrix.orgemilyit's documented in the manual20:13:46
@emilazy:matrix.orgemily so ghc_8_10 is "the right thing" 20:13:58
@hellwolf:matrix.orghellwolfghc10 is probably when ghc is basically agda20:14:36
@emilazy:matrix.orgemily
In reply to @maralorn:maralorn.de
Huh, I guess we need to lobby ghchq to bump to 10 before 9.20. 😄
(hey, another reason to ditch those old GHCs before they collide, no? :p )
20:14:41
@maralorn:maralorn.demaralorn
In reply to @emilazy:matrix.org
(hey, another reason to ditch those old GHCs before they collide, no? :p )
I think even having the same attribute used for a completely different version in living memory would be a sin.
20:15:47

Show newer messages


Back to Room ListRoom Version: 6