如何在Nixos中安装可执行的最新/不稳定的Haskell包



我正在尝试安装最新版本的ghcid

我已经通过在我的nix配置中添加haskellPackages.ghcid安装了ghcid,如下所示:

{ config, pkgs, ... }:
let
unstable = import <unstable> {};
in
{
environment.systemPackages = with pkgs; [
haskellPackages.ghcid
];
}

我以为它可能会作为一个特定的包提供,但我似乎找不到任何东西:

nix-env -v -qaP haskellPackages.ghcid

nix-env -v -qaP ghcid

返回...matches no derivations

惊人的简单:

unstable.haskellPackages.ghcid

最新更新