!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

729 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org146 Servers

Load older messages


SenderMessageTime
12 Jan 2026
@aiya:catgirl.cloudaiya so i'm trying to fix a package that requires random>=1.3 as a dependency but the version of random in nixpkgs is 1.2. what's the best practice here? do i: 02:19:34
@aiya:catgirl.cloudaiya *

so i'm trying to fix a package that requires random>=1.3 as a dependency but the version of random in nixpkgs is 1.2. what's the best practice here? do i:

  1. create a new package random_1_3_1
  2. try and back-patch the package to work with random 1.2
  3. override the build deps for that specific package's derivation? (i don't like this option, other packages require random>=1.3 too)
02:21:05
@aiya:catgirl.cloudaiya *

so i'm trying to fix a package that requires random>=1.3 as a dependency but the version of random in nixpkgs is 1.2. what's the best practice here? do i:

  1. create a new package random_1_3_1
  2. try and back-patch the package to work with random 1.2
  3. update random to 1.3 (probably not recommended, stackage lts has it as 1.2.1)
  4. override the build deps for that specific package's derivation? (i don't like this option, other packages require random>=1.3 too)

i couldn't find specific guidance on CONTRIBUTING.md and while i know some packages get multiple version i've yet to see a Haskell non-core package have multiple versions on nixpkgs

02:23:40
@aiya:catgirl.cloudaiya set a profile picture.02:33:02
@aiya:catgirl.cloudaiya changed their profile picture.02:34:54
@aiya:catgirl.cloudaiya changed their profile picture.02:36:52
@artem.types:matrix.orgArtem @aiya:catgirl.cloud: random_1_3_1 is already there (I think because haskellPackages by default include LTS versions and latest versions too) 04:56:53
@artem.types:matrix.orgArtemtrying to fix liquidhaskell in nixpkgs in the light of https://github.com/ucsd-progsys/liquidhaskell/issues/2188: https://github.com/NixOS/nixpkgs/pull/47948420:52:29
13 Jan 2026
@sjanssen:matrix.orgSpencer Janssen changed their profile picture.17:03:17
@sjanssen:matrix.orgSpencer Janssen removed their profile picture.17:03:29
@sjanssen:matrix.orgSpencer Janssen set a profile picture.17:59:55
@sjanssen:matrix.orgSpencer Janssen changed their profile picture.18:00:46
@sjanssen:matrix.orgSpencer Janssen changed their profile picture.18:02:01
20 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".22:10:58
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".22:10:58
@grahamc:nixos.org@grahamc:nixos.org invited @maralorn:maralorn.demaralorn.22:11:05
@maralorn:maralorn.demaralorn joined the room.22:11:13
@andi:kack.itandi- joined the room.22:30:49
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.22:36:42
Room Avatar Renderer.22:46:20
@maralorn:maralorn.demaralorn changed the join rule to "public" from "public".22:54:26
@maralorn:maralorn.demaralorn changed the room topic to "For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/" from "For discussions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/".22:56:19
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.23:05:49
@pennae:matrix.eno.spacepennae joined the room.23:06:26
@justinrestivo:matrix.orgjustinrestivo joined the room.23:07:39
@srid:matrix.orgsrid joined the room.23:07:41
@_xmpp_qy=40xa0.uk:matrix.orgbqv joined the room.23:08:26
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from qy to bqv.23:08:27
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from bqv to qy.23:08:28
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from qy to bqv.23:08:29

Show newer messages


Back to Room ListRoom Version: 6