我在 KVM 上设置了一个 NixOS 系统并安装了 haskelPlatform 包。
一切正常,ghci 工作正常,但是 cabal 死了,没有任何有用的错误消息:
[michas@nix:~]$ type -a cabal
cabal is /run/current-system/sw/bin/cabal
[michas@nix:~]$ cabal --version
cabal-install version 1.16.0.2
using version 1.16.0 of the Cabal library
[michas@nix:~]$ cabal update
Downloading the latest package list from hackage.haskell.org
Aborted
[michas@nix:~]$ cabal update -v3
Downloading the latest package list from hackage.haskell.org
Sending:
GET /packages/archive/00-index.tar.gz HTTP/1.1
Host: hackage.haskell.org
User-Agent: cabal-install/1.16.0.2
Creating new connection to hackage.haskell.org
Received:
HTTP/1.1 200 OK
Date: Thu, 19 Sep 2013 17:28:04 GMT
Server: Apache/2.2.9 (Debian) …
Run Code Online (Sandbox Code Playgroud) 有人对如何在 Arch 上安装 pandoc 有任何建议吗?我正在尝试从这里安装 pandoc-static:https://aur.archlinux.org/packages/pandoc-static/,尽管它似乎与我的 xmonad 安装冲突(我使用 xmonad 作为 TWM):
[grease-lightning]/home/.../builds/pandoc-static$ makepkg -s
==> Making package: pandoc-static 1.15.0.6-1 (Sun Aug 16 23:18:48 PDT 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found pandoc-static-1.15.0.6-1.tar.xz
-> Found pandoc-static-1.15.0.6-1.tar.xz.sig
==> Validating source files with sha512sums...
pandoc-static-1.15.0.6-1.tar.xz ... Passed
pandoc-static-1.15.0.6-1.tar.xz.sig ... Skipped
==> Verifying source file signatures with gpg...
pandoc-static-1.15.0.6-1.tar.xz ... Passed
==> Extracting sources...
-> Extracting pandoc-static-1.15.0.6-1.tar.xz with bsdtar
==> Starting prepare()...
==> Removing existing …
Run Code Online (Sandbox Code Playgroud)