!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

681 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure133 Servers

Load older messages


SenderMessageTime
2 Dec 2025
@mequbic:matrix.orgiqubic (she/her) This is true. The only HLS related executables I have in scope are haskell-language-server-9.10.3 and haskell-language-server-wrapper 23:35:03
@mequbic:matrix.orgiqubic (she/her)

Using this shell.nix:

{ pkgs ? import <nixpkgs> {} }:
let
  src = pkgs.nix-gitignore.gitignoreSource [] ./.;
  myPkg = pkgs.haskell.packages.ghc912.callCabal2nix "aoc25" src {};
in
pkgs.stdenv.mkDerivation {
  name = "aoc-shell";

  buildInputs = [
    myPkg.env.nativeBuildInputs

    pkgs.cabal-install
    pkgs.haskell-language-server
    pkgs.hlint
    pkgs.ormolu
  ];
}
23:35:33
@mequbic:matrix.orgiqubic (she/her) How can I make this work? If it's just a case of telling Emacs's lsp-mode to use a specific binary for the 9.12.2 HLS, then I can do that. However, I'm not currently seeing any relevant binaries on the $PATH 23:48:29
3 Dec 2025
@maralorn:maralorn.demaralornI works when you follow00:19:22
@maralorn:maralorn.demaralornthis00:20:04
@maralorn:maralorn.demaralornand this00:20:21
@maralorn:maralorn.demaralornliterally00:20:29
@mequbic:matrix.orgiqubic (she/her)Sorry... I missed the first thing you said... I'm a dummy! Sorry00:28:30
@iopq:matrix.orgiopq joined the room.10:56:53
@iopq:matrix.orgiopqI'm having difficulty compiling a project with another version of nixpkgs10:57:16
@iopq:matrix.orgiopqit works fine on my laptop10:57:22
@iopq:matrix.orgiopqand infinite loops on my desktop10:57:28
@iopq:matrix.orgiopqhttps://nest.pijul.com/iopq/proxy10:59:19
4 Dec 2025
@iopq:matrix.orgiopqreverting to an older nixpkgs revision fixes the issue07:47:37

There are no newer messages yet.


Back to Room ListRoom Version: 6