Skip to content

Instantly share code, notes, and snippets.

View dhess's full-sized avatar

Drew Hess dhess

View GitHub Profile
 nix-build default.nix -A hhp.haskellPackagesJS
copying path '/nix/store/0097nycick9376dxqwfy8pcz90i76n7x-cabal-install-3.2.0.0' from 'https://cache.nixos.org'...
building '/nix/store/wfamdmyc9vhg0kc4zh27whmijhami7pg-configured-ghcjs-src.drv'...
sed: can't read ghc/configure.ac: No such file or directory
builder for '/nix/store/wfamdmyc9vhg0kc4zh27whmijhami7pg-configured-ghcjs-src.drv' failed with exit code 2
error: build of '/nix/store/wfamdmyc9vhg0kc4zh27whmijhami7pg-configured-ghcjs-src.drv' failed
(use '--show-trace' to show detailed location information)
Nix expression is:
production> deployment finished successfully
Traceback (most recent call last):
File "/nix/store/1f2nvffryxhf3dq3cp5r0fzdijmzgiw1-nixops-1.8pre0_abcdef/bin/.nixops-wrapped", line 9, in <module>
sys.exit(main())
File "/nix/store/1f2nvffryxhf3dq3cp5r0fzdijmzgiw1-nixops-1.8pre0_abcdef/lib/python3.7/site-packages/nixops/__main__.py", line 626, in main
args.op(args)
File "/nix/store/1f2nvffryxhf3dq3cp5r0fzdijmzgiw1-nixops-1.8pre0_abcdef/lib/python3.7/site-packages/nixops/script_defs.py", line 727, in op_export
for depl in one_or_all(args):
TypeError: '_GeneratorContextManager' object is not iterable
hydra-eval-jobs returned exit code 1:
trace: Using latest index state for 9l3dd4jnrsi0wlli6a11rmjvrsjxsl8p-272c3a4ab8abb8679151b7ac8e17e0bb09b60b4343125ac765295370f3eea2f2-91c9965!
trace: [9l3dd4jnrsi0wlli6a11rmjvrsjxsl8p-272c3a4ab8abb8679151b7ac8e17e0bb09b60b4343125ac765295370f3eea2f2-91c9965-plan-to-nix-pkgs] cabal new-configure --with-ghc=ghc --with-ghc-pkg=ghc-pkg
trace: Using index-state: 2020-03-23T00:00:00Z for 9l3dd4jnrsi0wlli6a11rmjvrsjxsl8p-272c3a4ab8abb8679151b7ac8e17e0bb09b60b4343125ac765295370f3eea2f2-91c9965
trace: [alex-plan-to-nix-pkgs] cabal new-configure --with-ghc=ghc --with-ghc-pkg=ghc-pkg
trace: [happy-plan-to-nix-pkgs] cabal new-configure --with-ghc=ghc --with-ghc-pkg=ghc-pkg
trace: [hscolour-plan-to-nix-pkgs] cabal new-configure --with-ghc=ghc --with-ghc-pkg=ghc-pkg
building '/nix/store/p50qszcg3nilaahdidsf1r7vbykj2pl3-cabal.project.drv'...
building '/nix/store/hxpilz7cgcq5wxqdzblhf8k3nkdwgh2z-pandoc-sidenote-766eb9d.drv'...
exporting https://github.com/jez/pandoc-sidenote (rev 766eb9db
hydra-eval-jobs returned exit code 1:
trace: Using latest index state for bpvx01bwg8bwz4nrlhpgzasdjgcx3ikx-272c3a4ab8abb8679151b7ac8e17e0bb09b60b4343125ac765295370f3eea2f2-94818cb!
trace: [bpvx01bwg8bwz4nrlhpgzasdjgcx3ikx-272c3a4ab8abb8679151b7ac8e17e0bb09b60b4343125ac765295370f3eea2f2-94818cb-plan-to-nix-pkgs] cabal new-configure --with-ghc=ghc --with-ghc-pkg=ghc-pkg
trace: Using index-state: 2020-03-23T00:00:00Z for bpvx01bwg8bwz4nrlhpgzasdjgcx3ikx-272c3a4ab8abb8679151b7ac8e17e0bb09b60b4343125ac765295370f3eea2f2-94818cb
trace: [alex-plan-to-nix-pkgs] cabal new-configure --with-ghc=ghc --with-ghc-pkg=ghc-pkg
trace: [happy-plan-to-nix-pkgs] cabal new-configure --with-ghc=ghc --with-ghc-pkg=ghc-pkg
trace: [hscolour-plan-to-nix-pkgs] cabal new-configure --with-ghc=ghc --with-ghc-pkg=ghc-pkg
building '/nix/store/v742qdpazn0xn0rc7c98i5cplpxnkxns-bpvx01bwg8bwz4nrlhpgzasdjgcx3ikx-272c3a4ab8abb8679151b7ac8e17e0bb09b60b4343125ac765295370f3eea2f2-94818cb-plan-to-nix-pkgs.drv' on 'ssh://remote-builder@builder'...
Cloni
unpacking sources
unpacking source archive /nix/store/gqypl2hkc9i6k6g18x16j910am36g13n-gsasl-1.8.0.tar.gz
source root is gsasl-1.8.0
setting SOURCE_DATE_EPOCH to timestamp 1338225751 of file gsasl-1.8.0/doc/reference/tmpl/mechtools.sgml
patching sources
configuring
fixing libtool script ./lib/build-aux/ltmain.sh
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/j7j3s1x6gdl2qw10lcpg08y27vdsjhps-gsasl-1.8.0 --with-gssapi-impl=mit
checking for a BSD-compatible install... /nix/store/xmdf059nf5a1763w21gpc7ifizwk4b3p-coreutils-8.31/bin/install -c
checking whether build environment is sane... yes
self: super:
let
mkEC2Image = format: (import (super.path + "/nixos/lib/eval-config.nix") {
system = "x86_64-linux";
pkgs = self;
modules =
super.lib.hacknix.modules ++
[
substituteStream(): WARNING: pattern '/nix/store/n2qbgqbb5ijh80rm2rhp11ch4kpzyng0-coreutils-8.31/bin/basename' doesn't match anything in file '/nix/store/0f3mqz7fxhik0arpzm0vnc0j2i5wlash-udev-rules/63-md-raid-arrays.rules'
substituteStream(): WARNING: pattern '/nix/store/ani6px6f3xdrv095j4cyxcnlnrvxz398-util-linux-2.33.2-bin/bin/blkid' doesn't match anything in file '/nix/store/0f3mqz7fxhik0arpzm0vnc0j2i5wlash-udev-rules/63-md-raid-arrays.rules'
substituteStream(): WARNING: pattern '/nix/store/xik39sh319zn8fh4ky57li2f0ml1zxcg-lvm2-2.03.01/sbin' doesn't match anything in file '/nix/store/0f3mqz7fxhik0arpzm0vnc0j2i5wlash-udev-rules/63-md-raid-arrays.rules'
substituteStream(): WARNING: pattern '/nix/store/kpk24gcqqi76qrc00a6gx4ml5lvl56g1-bash-4.4-p23/bin/sh' doesn't match anything in file '/nix/store/0f3mqz7fxhik0arpzm0vnc0j2i5wlash-udev-rules/63-md-raid-arrays.rules'
substituteStream(): WARNING: pattern '/nix/store/cwhd0kx73w632vsi6yv385ril118i02s-systemd-243.4/bin/udevadm' doesn't match anything in file '/nix/
unpacking sources
unpacking source archive /nix/store/qyb93rdadfyfkm9g351yqvpy603cy636-doctest-0.16.2.tar.gz
source root is doctest-0.16.2
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file doctest-0.16.2/test/sandbox/cabal.sandbox.config
patching sources
configuring
Configure flags:
--prefix=/nix/store/l0v08dcb910fqi3w7f6z4ci8xv2a6qhc-doctest-0.16.2-lib-doctest lib:doctest --package-db=clear --package-db=/nix/store/90pjm93hvi842v8ai0grlqvpskc2fs8h-doctest-0.16.2-lib-doctest-config/lib/ghc-8.6.5/package.conf.d --exact-configuration --dependency=base-compat=base-compat-0.10.5-FRXoAxOVtbG2qLNIZm1tTr --dependency=code-page=code-page-0.2-3TjNtc9lu3RJN6poyFdQXs --dependency=ghc-paths=ghc-paths-0.1.0.12-8MhNqRZlSJXAzmVO0F6ybT --dependency=syb=syb-0.7.1-1gO4OjQOULM8usUjWwwEyW --dependency=rts=rts --dependency=ghc-heap=ghc-heap-8.6.5 --dependency=ghc-prim=ghc-prim-0.5.3 --dependency=integer-gmp=integer-gmp-1.0.2.0 --dependency=base=base-4.12.0.0 --dependency=deepseq=deepseq-1.4.4.0 --dependency=array=array-0.5
sandbox-exec: pattern serialization length 190684 exceeds maximum (65535)
builder for '/nix/store/wkn9yj9z99bflr4c631qh692ak16778s-system-path.drv' failed with exit code 65
Assertion failed: (diff <= INSTR_JUMP_NE_MAX_LENGTH), function push_jne_instr, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/Sandbox/Sandbox-851.270.1/src/compiler/patterns/serialize.c, line 186.
builder for '/nix/store/s1z82d9jxl5q53mj0d3c1vpbxz6a2j96-system-applications.drv' failed due to signal 6 (Abort trap: 6)
% ./result/bin/darwin-installer
Installing nix-darwin...
copying example configuration.nix
Would you like edit the default configuration.nix before starting? [y/n] n
these derivations will be built:
/nix/store/241zgbs6j7bc1f13hbhnaizi5c44zg6v-nix.conf.drv
/nix/store/5xf377794isqp190cg402a4hnp8w6n32-etc-ssh_known_hosts.drv
/nix/store/81ira49jd5wq334409ma3wdyq0g43c07-options-db.xml.drv