我正在尝试安装最新版本的ghcid
。
我通过在我的nix配置中添加ghcid
来安装haskellPackages.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
答案 0 :(得分:1)
令人惊讶的简单:
unstable.haskellPackages.ghcid