!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
21 Oct 2024
@mangoiv.:matrix.orgMangoIVWhy Not bump hackage again? 11:10:11
@maralorn:maralorn.demaralorn
In reply to @mangoiv.:matrix.org
Why Not bump hackage again?
Because it may introduce unrelated breakage and send us into a cat and mouse game.
12:51:59
@maralorn:maralorn.demaralornBut it might be a neccessary calculated risk.13:00:10
@maralorn:maralorn.demaralorn * 13:00:17
@artem.types:matrix.orgArtem
In reply to @sternenseemann:systemli.org

Solid: it's hard to give a formal requirement, but basically we'd want to be confident that new maintainers are familiar enough with the internals and established conventions so that they can handle a rotation on their own and guide drive by contributors.

You also don't have to take on such a big responsibility to help out, it already helps a lot if people follow maintenance and help out occasionally with fixing regressions or unbreaking packages. The probably best thing to start out with is taking over maintenance for specific haskell packages you are personally familiar with and/or use yourself. You'll be notified automatically when there's something to fix and you'll gain experience working with Haskell in nixpkgs. Bonus is that it benefits yourself because the package won't break in the channels on your watch.

following this advice, I opened https://github.com/NixOS/nixpkgs/pull/350301!
18:28:52
@sternenseemann:systemli.orgsterni (he/him) maralorn: hm there isn't a ghc-lib-parser yet 19:35:21
@sternenseemann:systemli.orgsterni (he/him)I guess downgrade ghc98 to 9.8.2…19:35:32
@artur:glasgow.socialmoved to @amadaluzia:tchncs.de changed their display name from (lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" to (artur 'manuel).20:02:55
@sternenseemann:systemli.orgsterni (he/him)PSA: https://github.com/NixOS/nixpkgs/pull/346720#issuecomment-242762889220:14:54
@maralorn:maralorn.demaralornsterni: excellent20:25:25
22 Oct 2024
@b:chreekat.netchreekatWhat's the deal about ghc-lib-parser?05:21:24
@zarel_it:matrix.org@zarel_it:matrix.org left the room.09:31:33
@maralorn:maralorn.demaralorn chreekat: It needs to be compatible with the used ghc version, apparently we switched so fast to 9.8.3 that there wasn’t a compatible release with that. 11:07:45
@maralorn:maralorn.demaralorn
In reply to * @sternenseemann:systemli.org
should really start on the contributing manual section…
You wanna do that in the nixpkgs manual?
11:08:20
@b:chreekat.netchreekat maralorn: ah i see. Well in that case I have good news https://hackage.haskell.org/package/ghc-lib-parser-9.8.3.20241022 11:09:05
@b:chreekat.netchreekatthose folks are quick!11:09:20
@maralorn:maralorn.demaralorn Yeah, but not as fast as sterni11:09:32
@b:chreekat.netchreekathehe11:09:36
@maralorn:maralorn.demaralornAnyway, our current PR is merged already. But we can merily switch to 9.8.3 on the next one.11:10:11
* @b:chreekat.netchreekat is thinking of necroing https://github.com/NixOS/nixpkgs/issues/41340 because he also hit an "argument list is too long" issue11:12:12
@b:chreekat.netchreekat in that issue, cdepillabout reports a problem while using buildStackProject. It looks different to the main problem of the ticket, so maybe I should open another one? In our case (I have the same set of conditions), the thing getting repeated is -I/foo/bar/baz 11:13:11
@b:chreekat.netchreekat

When I split them up and uniq them, I see e.g.

    177  -I/nix/store/4lssw6pk59r654j0yrfydv0kngk8zrqp-pkg-config-wrapper-0.29.2/include
    177  -I/nix/store/55h89a2wp6vi5dndcyz8c5sgl2ahmr4r-postgresql-15.8/include
    177  -I/nix/store/77i5izsm6i7fyzdb5h8w28rcpawwqj6q-zlib-1.3.1-dev/include
    177  -I/nix/store/a8ihcrk34ls3mdrzbvqgqqkdnx8alwgn-gmp-with-cxx-6.3.0/include
    177  -I/nix/store/ajqf8b7qvcz6qzamx2fv6y1qvvs2zqa8-libsodium-1.0.19/include
    177  -I/nix/store/i2ib184w4f4r644ciq9miwvqkk1334zd-libsodium-1.0.19-dev/include
    177  -I/nix/store/pkl664rrz6vb95piixzfm7qy1yc2xzgc-zlib-1.3.1/include
    178  -I/nix/store/qzm3pxhfrh17mglh9afywg727i2b4vwd-gmp-with-cxx-6.3.0-dev/include
    176  -I/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/include
      1  -I/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/include -DSTACK_DEVELOPER_MODE_DEFAULT=False
    177  -I/nix/store/vdd8ccp9x69v7kp5g9khq7j43n6dqf16-git-2.44.1/include
11:13:44
@b:chreekat.netchreekatThat's a lot of repeats11:13:48
@maralorn:maralorn.demaralorn
In reply to @b:chreekat.net

When I split them up and uniq them, I see e.g.

    177  -I/nix/store/4lssw6pk59r654j0yrfydv0kngk8zrqp-pkg-config-wrapper-0.29.2/include
    177  -I/nix/store/55h89a2wp6vi5dndcyz8c5sgl2ahmr4r-postgresql-15.8/include
    177  -I/nix/store/77i5izsm6i7fyzdb5h8w28rcpawwqj6q-zlib-1.3.1-dev/include
    177  -I/nix/store/a8ihcrk34ls3mdrzbvqgqqkdnx8alwgn-gmp-with-cxx-6.3.0/include
    177  -I/nix/store/ajqf8b7qvcz6qzamx2fv6y1qvvs2zqa8-libsodium-1.0.19/include
    177  -I/nix/store/i2ib184w4f4r644ciq9miwvqkk1334zd-libsodium-1.0.19-dev/include
    177  -I/nix/store/pkl664rrz6vb95piixzfm7qy1yc2xzgc-zlib-1.3.1/include
    178  -I/nix/store/qzm3pxhfrh17mglh9afywg727i2b4vwd-gmp-with-cxx-6.3.0-dev/include
    176  -I/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/include
      1  -I/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/include -DSTACK_DEVELOPER_MODE_DEFAULT=False
    177  -I/nix/store/vdd8ccp9x69v7kp5g9khq7j43n6dqf16-git-2.44.1/include
Huh, that’s a nice insight.
11:14:16
@b:chreekat.netchreekatI just don't have any idea where that might be happening. nixpkgs? stack? cabal? ghc? Haven't been able to repro it yet with the few things I've tried11:15:15
@b:chreekat.netchreekatso not even sure where to open a ticket first11:16:18
@maralorn:maralorn.demaralornDon’t we classically have those problem with pkg-config?11:16:36
@maralorn:maralorn.demaralornBut this might be a tottaly different one.11:16:45
@b:chreekat.netchreekatthis project does depend on pkg-config11:17:02
@b:chreekat.netchreekat

uh ok either i've cached some failure, or repro is very easy.

stack new --resolver lts-20.5 blah
cd blah
stack build stack
11:34:02

Show newer messages


Back to Room ListRoom Version: 6