我正在尝试安装最新版本的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