Skip to content

Instantly share code, notes, and snippets.

View EvanMisshula's full-sized avatar

Evan Misshula EvanMisshula

View GitHub Profile
@EvanMisshula
EvanMisshula / cleanDF10jj.json
Created January 20, 2022 03:54
From Oct 1, 2021 Under Custody
This file has been truncated, but you can view the full file.
This file has been truncated, but you can view the full file.
This file has been truncated, but you can view the full file.
app@ted:~/reflex/servant-snap$ nix-build --attr servant-snap release.nix
/etc/host.conf: line 4: bad command `nospoof on'
these derivations will be built:
/nix/store/g9nzcvi5d8g829za30k4jx7602p5h8x8-servant-snap-0.8.1.0.drv
building '/nix/store/g9nzcvi5d8g829za30k4jx7602p5h8x8-servant-snap-0.8.1.0.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/3v8p0pvcplr3bfvrnh4fyqrqk2ddyl6f-ghc-8.2.2.
ignoring (possibly broken) abi-depends field for packages
unpacking sources
unpacking source archive /nix/store/jxfbrgafj0n8mr2nq6n6jlzl3f25zv3v-servant-snap
@EvanMisshula
EvanMisshula / default-goundhog-ghcjs.nix
Created April 17, 2019 02:09
Ali...I hope you don't regret being so generous with your time....
{ mkDerivation, base, stdenv, template-haskell }:
mkDerivation {
pname = "groundhog-ghcjs";
version = "0.1.0.0";
src = ./.;
libraryHaskellDepends = [ base template-haskell ];
jailbreak = true;
doCheck = false;
homepage = "http://github.com/mightybyte/groundhog-ghcjs";
description = "Groundhog GHCJS compatibility";
@EvanMisshula
EvanMisshula / default.nix
Created April 7, 2019 15:57
my problem building servant snap
{ mkDerivation, aeson, attoparsec, base, base64-bytestring
, bytestring, case-insensitive, containers, digestive-functors
, directory, either, errors, exceptions, filepath, heist, hspec
, hspec-core, hspec-snap, http-api-data, http-client, http-media
, http-types, HUnit, io-streams, lens, map-syntax, mmorph, mtl
, network, network-uri, parsec, process, QuickCheck, servant
, servant-client, snap, snap-core, snap-cors, snap-server, stdenv
, string-conversions, temporary, text, time, transformers, word8
}:
mkDerivation {
@EvanMisshula
EvanMisshula / default.nix
Created March 19, 2019 13:27
default.nix for soap project.....
{ reflex-platform ? import ./reflex-platform {} }:
reflex-platform.project ({ pkgs, ... }: {
packages = {
common = ./common;
backend = ./backend;
frontend = ./frontend;
};
shells = {
@EvanMisshula
EvanMisshula / bash output
Created March 19, 2019 02:22
Linux.hsc:25:10: fatal error: 'sys/inotify.h' file not found
bash-3.2$ nix-build -A all
building '/nix/store/48w16xvg9hxbcs6453a25xq9p6gz49js-cabal2nix-backend.drv'...
installing
*** found package.yaml. Using hpack...
trace: WARNING: ignoring dependency on doctest
these derivations will be built:
/nix/store/dj410wnv0mwya71c1a853455gix22pmj-temporary-1.3.drv
/nix/store/hza6q5xr08pwm165zlmi7fhxjg6m6f3l-mockery-0.3.5.drv
/nix/store/wnjjwywa8k793jr0gi9hr7bg7swnk0qc-unliftio-core-0.1.2.0.drv
@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