!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

685 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 infrastructure136 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 May 2025
@maralorn:maralorn.demaralornMy plan is to settle this before the release of 25.05 so that we can add the deprecation to the release notes and drop them right after that.19:58:40
@maralorn:maralorn.demaralorn* My plan is to settle this before the release of 25.05 so that we can add the deprecation to the release notes.19:59:01
@hellwolf:matrix.orghellwolfFirst time I use cabal2nix / callPackage to package my local project...20:45:33
@hellwolf:matrix.orghellwolfBasic question: how can I skip tests of all my dependencies, just like what cabal build would do?20:45:54
@hellwolf:matrix.orghellwolfCurrently, some packages failed to evaluate due to test, e.g., crypton. 20:46:10
@alexfmpe:matrix.orgalexfmpedontCheck util21:01:55
@hellwolf:matrix.orghellwolfhow do I apply to all dependencies automatically?21:04:19
@hellwolf:matrix.orghellwolfI guess doing a map over "pkgs.haskell.packages.${ghcId}" setting "donCheck = true" would be an overkill?21:21:41
@weethet:catgirl.cloudWeetHet @maralorn:maralorn.de re: packaging latest versions, would defining a package in by-name also work or will there be a conflict between the two? 21:22:30
@weethet:catgirl.cloudWeetHet
In reply to @hellwolf:matrix.org
I guess doing a map over "pkgs.haskell.packages.${ghcId}" setting "donCheck = true" would be an overkill?
mkDerivation = args: hprev.mkDerivation ({ doCheck = false; } // args
21:26:03
@weethet:catgirl.cloudWeetHet This is what I've done, I don't like it but it works 21:26:26
@hellwolf:matrix.orghellwolfyikes :)21:29:48
@hellwolf:matrix.orghellwolfbut I realized it was largely my own fault of tracking ghc 9.12.2 already.. only package is broken without a cache is crypton, I will just apply a hack for that package alone.21:30:41
@maralorn:maralorn.demaralorn
In reply to @weethet:catgirl.cloud
@maralorn:maralorn.de re: packaging latest versions, would defining a package in by-name also work or will there be a conflict between the two?
Well, it is generally possible to package haskell packages in by-name. But it is unclear to me what that's supposed to solve.
21:34:50
@alexfmpe:matrix.orgalexfmpe
In reply to @hellwolf:matrix.org
but I realized it was largely my own fault of tracking ghc 9.12.2 already.. only package is broken without a cache is crypton, I will just apply a hack for that package alone.
Welcome to the early adopter life
21:39:26
@hellwolf:matrix.orghellwolf:p21:39:56
@alexfmpe:matrix.orgalexfmpeHere's another fun one21:40:00
@alexfmpe:matrix.orgalexfmpehttps://gitlab.haskell.org/ghc/ghc/-/issues/2593721:40:03
@alexfmpe:matrix.orgalexfmpeI'd be careful about using crypton in prod if test suite doesn't pass21:40:41
@alexfmpe:matrix.orgalexfmpeWell maybe it doesn't matter if it's for come cypher you don't use it?21:41:06

Show newer messages


Back to Room ListRoom Version: 6