!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
12 Dec 2024
@mrtni:matrix.orgmrtni joined the room.06:26:26
@tomodachi94:matrix.org@tomodachi94:matrix.org* Dropping software that is impossible to responsibly maintain, but see above message (looks like the main package is still maintained)20:39:51
@pseudomata:matrix.org@pseudomata:matrix.org left the room.23:07:31
13 Dec 2024
@funkyeggdev:matrix.orgFunky joined the room.06:34:00
@hungryjoe:matrix.orgHungry JoeHi, I just wanted to check that this PR was in the right place, and was visible to the right people https://github.com/NixOS/nixpkgs/pull/363022 Cheers12:13:32
@maralorn:maralorn.demaralornIt‘s at least on my todo list, but I am currently swampd.12:17:30
@maralorn:maralorn.demaralorn * It‘s at least on my todo list, but I am currently swamped.12:17:32
@hungryjoe:matrix.orgHungry JoeThanks, so long as it's on your radar12:19:18
@trexd:matrix.orgtrexd joined the room.14:14:11
@trexd:matrix.orgtrexdHello, If there is a package on hackage I want to make available in in nixpkgs do I have to wait for the next snapshot or can I upstream it myself somehow?14:35:26
@maralorn:maralorn.demaralornWaiting sounds right.14:47:45
@alexfmpe:matrix.orgalexfmpeYeah not much point adding an override to nixpkgs that just lasts a few weeks on average (current snapshot is abnormally delayed due to reasons)16:24:29
@alexfmpe:matrix.orgalexfmpeI'd just override locally and remove when next snapshot makes its way to you16:25:00
@trexd:matrix.orgtrexd I'm working with the maintainer to provide the package in Nixpkgs but otherwise I have it working locally. The current overlay is difficult to maintain because of all the packages in the repo under the cabal.project so part of the reason providing the package in nixpkgs would make it easier for those who just want to use it without developing on all the packages. 16:28:07
@alexfmpe:matrix.orgalexfmpeHuh, are all these packages waiting for the next snapshot?16:29:10
@trexd:matrix.orgtrexd Sorry, let me be a bit more clear. There is a main package hasktorch which users should consume but there are also other packages associated with the repository that are only for development purposes. The devshell that we have in the repository builds all of the packages not just hasktorch. Hasktorch has just been updated on hackage and we want to direct users to consume from there using nixpkgs for convenience. 16:31:37
@trexd:matrix.orgtrexdhttps://github.com/hasktorch/hasktorch Here's the project if you're curious.16:31:47
14 Dec 2024
@srestegosaurio:tchncs.de@srestegosaurio:tchncs.de joined the room.01:20:44
@srestegosaurio:tchncs.de@srestegosaurio:tchncs.deHi, I'm starting with haskell and I'm not sure how should I setup my projects on nix.01:31:49
@srestegosaurio:tchncs.de@srestegosaurio:tchncs.deI would like to have as much stuff as possible managed by nix.01:32:05
@srestegosaurio:tchncs.de@srestegosaurio:tchncs.deThere seams to be several ways to go about it. I would be gratefull for suggestions.01:32:36
@nrs-status:matrix.orgthirdofmay18081814goya anyone got an example of a nix package that builds from source using stack install? 04:39:50
@trexd:matrix.orgtrexd I like using the shellFor function outlined in the nixpkgs manual. That combined with direnv and cabal2nix make development pretty easy. Let me know if you have more questions :) 16:59:45
@trexd:matrix.orgtrexdhttps://nixos.org/manual/nixpkgs/stable/#haskell-shellFor17:00:01
@srestegosaurio:tchncs.de@srestegosaurio:tchncs.deThanks!17:00:07
@maralorn:maralorn.demaralorn
In reply to @nrs-status:matrix.org
anyone got an example of a nix package that builds from source using stack install?
You mean running stack install in a nix build? I am aware of no such thing.
20:43:26
@nrs-status:matrix.orgthirdofmay18081814goya oh huh, is it usually stack build? 20:44:06
@maralorn:maralorn.demaralornI am not aware of any solution to run stack within a nix derivation.20:46:49
@maralorn:maralorn.demaralornUsually even stack projects get built with the normal nix Haskell builder via a .cabal file.20:47:21
@maralorn:maralorn.demaralornBut I am not a stack user so I might be wrong here.20:47:46

Show newer messages


Back to Room ListRoom Version: 6