| 12 Dec 2024 |
| mrtni joined the room. | 06:26:26 |
@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 left the room. | 23:07:31 |
| 13 Dec 2024 |
| Funky joined the room. | 06:34:00 |
Hungry Joe | Hi, 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
Cheers | 12:13:32 |
maralorn | It‘s at least on my todo list, but I am currently swampd. | 12:17:30 |
maralorn | * It‘s at least on my todo list, but I am currently swamped. | 12:17:32 |
Hungry Joe | Thanks, so long as it's on your radar | 12:19:18 |
| trexd joined the room. | 14:14:11 |
trexd | Hello, 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 | Waiting sounds right. | 14:47:45 |
alexfmpe | Yeah 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 | I'd just override locally and remove when next snapshot makes its way to you | 16:25:00 |
trexd | 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 | Huh, are all these packages waiting for the next snapshot? | 16:29:10 |
trexd | 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 | https://github.com/hasktorch/hasktorch Here's the project if you're curious. | 16:31:47 |
| 14 Dec 2024 |
| @srestegosaurio:tchncs.de joined the room. | 01:20:44 |
@srestegosaurio:tchncs.de | Hi, I'm starting with haskell and I'm not sure how should I setup my projects on nix. | 01:31:49 |
@srestegosaurio:tchncs.de | I would like to have as much stuff as possible managed by nix. | 01:32:05 |
@srestegosaurio:tchncs.de | There seams to be several ways to go about it. I would be gratefull for suggestions. | 01:32:36 |
thirdofmay18081814goya | anyone got an example of a nix package that builds from source using stack install? | 04:39:50 |
trexd | 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 | https://nixos.org/manual/nixpkgs/stable/#haskell-shellFor | 17:00:01 |
@srestegosaurio:tchncs.de | Thanks! | 17:00:07 |
maralorn | 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 |
thirdofmay18081814goya | oh huh, is it usually stack build? | 20:44:06 |
maralorn | I am not aware of any solution to run stack within a nix derivation. | 20:46:49 |
maralorn | Usually even stack projects get built with the normal nix Haskell builder via a .cabal file. | 20:47:21 |
maralorn | But I am not a stack user so I might be wrong here. | 20:47:46 |