!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
6 Jun 2021
@pasukon:matrix.orgpasukonare there any good examples of using IHP as a flake input or from a fetchTarball? I've been wanting to try it out but don't wanna do it the 'recommended' way with nix-env14:54:59
@maralorn:maralorn.demaralornI have not done anything with IHP. Can you link to the recommended way?14:55:50
@pasukon:matrix.orgpasukonhttps://ihp.digitallyinduced.com/Guide/installation.html14:57:27
@maralorn:maralorn.demaralorn pasukon: nix-env -f https://ihp.digitallyinduced.com/ihp-new.tar.gz -i ihp-new -> (import (fetchTarball "https://ihp.digitallyinduced.com/ihp-new.tar.gz")).ihp-new 15:01:51
@pasukon:matrix.orgpasukon👍️15:02:03
@pasukon:matrix.orgpasukonthanks15:02:05
@maralorn:maralorn.demaralornI have not run that.15:02:20
@maralorn:maralorn.demaralornMaybe there is stupid mistake in there.15:02:33
@pwmosquito:matrix.orgpwmosquitoHey, so I wanted to try out https://github.com/kowainik/stan on a work codebase and was going to add it to my nix shell and noticed that it's not in unstable but it is in 21.05: https://search.nixos.org/packages?channel=21.05query=haskellPackages.stan https://search.nixos.org/packages?channel=unstable&query=haskellPackages.stan any idea why?15:45:15
@pwmosquito:matrix.orgpwmosquito * Hey, so I wanted to try out https://github.com/kowainik/stan on a work codebase and was going to add it to my nix shell and noticed that it's not in unstable but it is in 21.05: https://search.nixos.org/packages?channel=21.05&query=haskellPackages.stan https://search.nixos.org/packages?channel=unstable&query=haskellPackages.stan any idea why?15:46:57
@maralorn:maralorn.demaralorn pwmosquito: I have no clue, what the search is doing. 15:47:08
@maralorn:maralorn.demaralornstan works for me.15:47:13
@maralorn:maralorn.demaralornon unstable.15:47:17
@maralorn:maralorn.demaralornCan you just try to install it?15:47:29
@pwmosquito:matrix.orgpwmosquitoha! let me try again15:47:31
@pwmosquito:matrix.orgpwmosquitoi mean i actually went berzerk and nixified it 😅 https://github.com/pwm/stan/commit/afc048fae34c899530ddc57a1651d101b7060c27 but i'm not sure if it'd be useful to do an upstream PR if it's in nixpkgs already and kowainik iirc don't use nix15:48:34
@maralorn:maralorn.demaralornHm, yeah I think nix files in upstream repos only make sense if the maintainers care about it.15:49:29
@pwmosquito:matrix.orgpwmosquito and yep, it works ¯_(ツ)_/¯ 15:51:22
@pwmosquito:matrix.orgpwmosquito tnx maralorn 15:51:28
@maralorn:maralorn.demaralorn sterni (he/him): While we are talking about contribution guidelines: Do you have a system when you write haskellPackages and when haskell.packages? 16:06:03
@sternenseemann:systemli.orgsterni (he/him)I usually do haskellPackages.<package> since it is shorter than haskell.packages.*.<package>16:06:50
@sternenseemann:systemli.orgsterni (he/him)so when I do something that affects the set(s) in general I do haskell.packages16:07:03
@maralorn:maralorn.demaralornInteresting.16:07:18
@sternenseemann:systemli.orgsterni (he/him)but probably always using haskellPackages is better since it is more searchable16:07:22
@maralorn:maralorn.demaralornYeah.16:07:34
@sternenseemann:systemli.orgsterni (he/him)think would make more sense if we were to make it a policy right16:08:14
@maralorn:maralorn.demaralornI am wondering a bit if the autocommits by our scripts are actually conforming to the guidelines.16:08:49
@maralorn:maralorn.demaralornStackage Nightly: date -> date, kinda does not.16:09:08
@sternenseemann:systemli.orgsterni (he/him)lets clean that up in the next iteration maybe16:09:23
@sternenseemann:systemli.orgsterni (he/him)and update HACKING.md16:09:28

There are no newer messages yet.


Back to Room ListRoom Version: 6