Skip to content

Instantly share code, notes, and snippets.

View EvanMisshula's full-sized avatar

Evan Misshula EvanMisshula

View GitHub Profile
@EvanMisshula
EvanMisshula / nix.conf
Created March 19, 2019 00:21
My nix.conf
substituters = https://cache.nixos.org https://nixcache.reflex-frp.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=
sandbox = false
binary-caches = https://cache.nixos.org https://nixcache.reflex-frp.org
binary-cache-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=
binary-caches-parallel-connections = 40
@EvanMisshula
EvanMisshula / bashOutput
Created March 18, 2019 22:45
trying to add hpack to the build products
nix-build --show-trace -A all
error: while evaluating the attribute 'buildCommand' of the derivation 'reflex-project' at /nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/stdenv/generic/make-derivation.nix:177:11:
while evaluating anonymous function at /nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/attrsets.nix:225:10, called from undefined position:
while evaluating anonymous function at /nix/store/wsyx22606j37gin9nw4rn8zhn1gfdp6p-source/project/default.nix:198:36, called from /nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/attrsets.nix:225:16:
while evaluating 'optionalString' at /nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/strings.nix:147:26, called from /nix/store/wsyx22606j37gin9nw4rn8zhn1gfdp6p-source/project/default.nix:198:44:
while evaluating 'concatMapStringsSep' at /nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/strings.nix:64:33, called from /nix/store/wsyx22606j37gin9nw4rn8zhn1gfdp6p-source/project/default.nix:200:7:
while evaluating anonymous function at /ni
###The end of my build log
Run jailbreak-cabal to lift version restrictions on build inputs.
jailbreak-cabal: dieVerbatim: user error (jailbreak-cabal: Error Parsing: file "servant-client-core.cabal" doesn't
exist. Cannot continue.
)
builder for '/nix/store/zg6zidfnyw4b391sfs4jpyxfv0y5s5hl-servant-client-core-0.16.drv' failed with exit code 1
cannot build derivation '/nix/store/pqfbzjs3s34qdfx7x05i4d7ckllqlb3d-servant-client-0.15.drv': 1 dependencies couldn't be built
building '/nix/store/qcpw4waxxk6i98d30h8hhb4gfsi36hzf-unix-time-0.4.5.drv'...
cannot build derivation '/nix/store/jvj1yvk03760s2ijypnaml2swck4qhcs-servant-snap-0.8.2.drv': 1 dependencies couldn't be built
@EvanMisshula
EvanMisshula / release.nix
Created March 3, 2019 16:24
release.nix
contianers-unicode-syntax.nix follows:
{ mkDerivation, base, base-unicode-symbols, containers, stdenv }:
mkDerivation {
pname = "containers-unicode-symbols";
version = "0.3.1.1";
sha256 = "4655f286a2d116cb5f2b89f472df54df739bf904ac8e932b2fd34d3f713e9b31";
libraryHaskellDepends = [ base base-unicode-symbols containers ];
jailbreak = true;
doCheck = false;