!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
23 May 2021
@sternenseemann:systemli.orgsternibut looked like a genuine bug to me as well03:30:27
@joe:monoid.aljoeIt's already on Hackage!03:30:52
@sternenseemann:systemli.orgsterniah, awesome :) should've subscribed to the PR's notifications then03:31:10
@joe:monoid.aljoeAlso: "I am upstream hnix" (in part of course)03:31:20
@sternenseemann:systemli.orgsterniI see, wasn't aware.03:51:17
@joe:monoid.aljoeis peti still doing things, I notice he's no longer a suggested review04:47:53
@joe:monoid.aljoe * is peti still doing things? I notice he's no longer a suggested reviewer04:48:01
@meckse:matrix.orgmeck joined the room.06:53:27
@cdepillabout:matrix.orgcdepillabout
In reply to @joe:monoid.al
is peti still doing things? I notice he's no longer a suggested reviewer
No, he stepped down a few weeks ago: https://discourse.nixos.org/t/im-retiring-from-haskell-maintenance-in-nixpkgs/12739
08:36:08
@joe:monoid.aljoegood for him :) he's earned it!08:38:02
@maralorn:maralorn.demaralornHuh, that is another solution for the problem we discussed yesterday. I wonder if we can write a convenient helper for that … https://github.com/NixOS/nixpkgs/pull/12409910:38:31
@v:anomalous.euV joined the room.11:21:19
@joe:monoid.aljoeoh, that's nice12:12:57
@maralorn:maralorn.demaralorn cdepillabout: I have ticked of all my build errors on haskell-updates. Most of them were weird false positives. 12:19:52
@cdepillabout:matrix.orgcdepillabout
In reply to @maralorn:maralorn.de
cdepillabout: I have ticked of all my build errors on haskell-updates. Most of them were weird false positives.
Thanks! I'm waiting to do another ping-maintainers, but Hydra just won't finish those darwin builds. There are still about 6700 left.
12:21:34
@maralorn:maralorn.demaralornYeah, well it’s a time of high activity.12:22:30
@maralorn:maralorn.demaralorn(Doing a whole communication platform switch exactly during branch-off is kinda crazy if you think about it …)12:23:10
@pennae:matrix.eno.spacepennaebut it..worked? :D12:24:14
@pwmosquito:matrix.orgpwmosquitoHey all, here's a shameless plug for my little skeleton i use for my haskell projects: https://github.com/pwm/nixkell I used to copy&paste various nix bits from project to project and one day I decided to package it all up and put it up on gh. Hope some will find it useful. Any feedback/criticism welcome :)13:02:26
@pwmosquito:matrix.orgpwmosquitoPS: it's probably most useful for nix beginners and I've tried to write the readme with that in mind13:04:22
@maralorn:maralorn.demaralorn pwmosquito: Cool. 13:06:59
@maralorn:maralorn.demaralornAlthough I personally when I start with something find it hard to understand all the stacking abstractions. So I am not convinced of the additional toml file.13:09:01
@maralorn:maralorn.demaralornBut I am sure it’s convenient when you know how it works.13:09:40
@maralorn:maralorn.demaralorn pwmosquito: What are the nicest conveniences when using hpack instead of directly writing the cabal file? 13:12:10
@pwmosquito:matrix.orgpwmosquito Hey maralorn ,
Re toml config - I thought that haskellers who are not (yet) familiar with nix will find it easy to do stuff in the toml config (ghc version, nix env tools). Once they are more comfortable with nix they can ofc do whatever, eg. get rid of the toml config :)
13:14:21
@joe:monoid.aljoe

My copypaste file is just

{ nixpkgsSrc ? <nixpkgs>, pkgs ? import nixpkgsSrc { }, compiler ? null }:

let
  haskellPackages = if compiler == null then
    pkgs.haskellPackages
  else
    pkgs.haskell.packages.${compiler};

in haskellPackages.developPackage {
  name = "";
  root = pkgs.nix-gitignore.gitignoreSource [ ] ./.;
}

13:14:41
@pwmosquito:matrix.orgpwmosquitoRe hpack - simply personal preference, i never actually learnt the cabal syntax :D I just write yaml and let hpack deal with the bespoke syntax of cabal13:15:08
@joe:monoid.aljoe
In reply to @maralorn:maralorn.de
pwmosquito: What are the nicest conveniences when using hpack instead of directly writing the cabal file?
I use hpack solely for being able to not have to list out all the files, (and being able to have common settings shared between several targets, although I think cabal has this now?)
13:15:56
@joe:monoid.aljoeand the documentation is imho clearer13:16:37
@joe:monoid.aljoe * and the documentation is imho clearer, although an understanding of cabal is also necessary I guess13:16:53

There are no newer messages yet.


Back to Room ListRoom Version: 6