Created
April 7, 2019 15:57
-
-
Save EvanMisshula/8b484bd1f63bfb9490300d38d0215d16 to your computer and use it in GitHub Desktop.
my problem building servant snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ 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 { | |
pname = "servant-snap"; | |
version = "0.8.2"; | |
src = /Users/evan/Documents/reflex/try/mod/servant-snap; | |
isLibrary = true; | |
isExecutable = true; | |
libraryHaskellDepends = [ | |
aeson attoparsec base base64-bytestring bytestring case-insensitive | |
containers either filepath http-api-data http-media http-types | |
io-streams mmorph mtl network-uri servant snap snap-core | |
snap-server string-conversions text transformers word8 | |
]; | |
executableHaskellDepends = [ | |
aeson base bytestring either errors heist http-client lens | |
map-syntax servant servant-client snap snap-core snap-cors | |
snap-server text transformers | |
]; | |
testHaskellDepends = [ | |
aeson base base64-bytestring bytestring case-insensitive containers | |
digestive-functors directory either exceptions hspec hspec-core | |
hspec-snap http-types HUnit io-streams lens mtl network parsec | |
process QuickCheck servant snap snap-core snap-cors snap-server | |
string-conversions temporary text time transformers | |
]; | |
jailbreak = true; | |
doCheck = false; | |
homepage = "http://haskell-servant.github.io/"; | |
description = "A family of combinators for defining webservices APIs and serving them"; | |
license = stdenv.lib.licenses.bsd3; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nix-build --attr servant-snap release.nix | |
these derivations will be built: | |
/nix/store/0aw0k2pzibffd8l71hr29in5wnxmcnwa-remove-references-to.drv | |
/nix/store/x07l4w1za802g2qdms3l5q5w21zfw9r7-doctest-0.13.0.drv | |
/nix/store/684fwlvsrbn548pnnckdgf2z1ls1pdr0-distributive-0.5.3.drv | |
/nix/store/c5g8iha0flw5nri4d6nb5rpj9chqhyj8-comonad-5.0.3.drv | |
/nix/store/hxrnp8mi58x0ppkc5f9w57m7w5cz594r-bifunctors-5.5.2.drv | |
/nix/store/gdpci62y8nmclvh9qna8gdhv2phxisbf-profunctors-5.2.2.drv | |
/nix/store/za7s6bnrryjxhp9z91ynhkv1smb2dijq-semigroupoids-5.2.1.drv | |
/nix/store/pk4qgb5861873fkkh6dm1zidws8hvcwi-free-4.12.4.drv | |
/nix/store/wkdn1fkyyhbndjgf3hjr3s85kf1q5g7z-adjunctions-4.3.drv | |
/nix/store/phlc5lahjk1w7j6059r4sy3h83sxc4cd-kan-extensions-5.0.2.drv | |
/nix/store/0kfw3dbiid0jl7sn0vfn5sy6s1mnrldf-lens-4.15.4.drv | |
/nix/store/2i3g3fgyswjfb6vaayjl4nyvcfhc7djs-blaze-markup-0.8.2.0.drv | |
/nix/store/54y08sdb4qg4v7cqbn9nk65kbki487zl-blaze-html-0.9.0.1.drv | |
/nix/store/9ahmv89xlfc7x6a1q85mq4dxbm3kbvv6-vault-0.3.1.0.drv | |
/nix/store/xj7lz4jxjq5zdpbxcy4nwyi3pq3hg8na-http-types-0.12.1.drv | |
/nix/store/d20n70391jrscvrswim9bvamq0xqj4y3-wai-3.2.1.1.drv | |
/nix/store/57bsd203383lmd5b3ci1z3xf224sbzv4-aeson-pretty-0.8.5.drv | |
/nix/store/hnr3fqfaigqnycyv9sdcx08852zda3x6-psqueues-0.2.5.0.drv | |
/nix/store/n3nwgka99apdhd3w60a48c761flxc3ai-word8-0.1.3.drv | |
/nix/store/71ai2ws4qqm0aln6yfyyy1f2y47alfq2-http2-1.6.3.drv | |
/nix/store/cgn4m63cwbw9zz8yjjhiippdyd4lxzch-iproute-1.7.2.drv | |
/nix/store/wgdpv4zys2gah6bm07n23r7rbv72m12d-http-date-0.0.6.1.drv | |
/nix/store/ldnl84bv71aragqzw3knxd49d18ldxzr-warp-3.2.13.drv | |
/nix/store/h3h812yv31hbdqb680nlvh0i041pbxqb-unix-time-0.3.8.drv | |
/nix/store/iv8n5qmw1l75v4axk0dfcl5v8z7ciqzv-fast-logger-2.4.11.drv | |
/nix/store/s8anvvki3pwq8cwg8bxkx511b9h5vkiv-wai-logger-2.3.1.drv | |
/nix/store/mhsgm0cbbkhzhlwqz5fkbyw9qsf4dpym-wai-extra-3.0.22.0.drv | |
/nix/store/0zg0qpvzl3qydi7md2j7hjczsl09w3ax-wai-app-static-3.1.6.1.drv | |
/nix/store/4637254smf8v8wfcl3646wg0abgrzgvy-http-media-0.7.1.2.drv | |
/nix/store/5yj7zm4wsi684bbg46xxdlrhfg1mfmjq-http-client-0.5.10.drv | |
/nix/store/3vxa076xrdam8qcrrjvca1wwn54ggd6d-uri-bytestring-0.3.1.1.drv | |
/nix/store/z5f002qxw58wv79hcbn4253sjw4hp28m-attoparsec-iso8601-1.0.0.0.drv | |
/nix/store/an41sp9lkjva1lzljsmfcrfxghd5z5ca-http-api-data-0.3.7.2.drv | |
/nix/store/5d47a4an56ljgcgfmpbh3w6achmam974-string-conversions-0.4.0.1.drv | |
/nix/store/7gqxfsnbv8dxgmqhiyr2mnag23dxvf73-natural-transformation-0.4.drv | |
/nix/store/h006ymq1l6sfwhhk44fs4r0m9zlx0d66-aeson-compat-0.3.7.1.drv | |
/nix/store/cnllr373f6fsvzxi86r38npiqd4mxmi5-servant-0.13.drv | |
/nix/store/9188rfaswbxjrprf3gqs48nhifvka6q7-servant-client-core-0.13.drv | |
/nix/store/g5saga9i4jq3lqgnnxk91k5ayl379fnw-http-client-tls-0.3.5.3.drv | |
/nix/store/36910q087ybw7ab267kyfr80nhp74ydn-should-not-typecheck-2.1.0.drv | |
/nix/store/vh33x1ywz9csa213xci2024np7ds56zm-hspec-wai-0.9.0.drv | |
/nix/store/xyxbflk4bh8n3llydj2bf3wdrgcyayy0-system-filepath-0.4.14.drv | |
/nix/store/myrkil29w902lfc0ilqsngzzmmabhb7m-servant-server-0.13.drv | |
/nix/store/34sq96wlvbldccsff24dhfgvzdq6wd1b-servant-client-0.13.drv | |
/nix/store/4db5lyr0p38j99d7cjx70774mk2bgy3s-cryptohash-0.11.9.drv | |
/nix/store/3qrm2wg38cq7m4hy4pvkw6ajgl4ycajr-pwstore-fast-2.4.4.drv | |
/nix/store/48hs6q8icra33vm267zvfasmwz7y69xr-crypto-api-0.13.3.drv | |
/nix/store/imxp971v1bb7ysqh7nyh9lj973r7n7ih-securemem-0.1.10.drv | |
/nix/store/7yzfpl9fhjjsmr1y60pn5g6dbmyzmrk2-crypto-cipher-types-0.0.9.drv | |
/nix/store/vl10xmmzx77d4wg8qv3dwi55bz299kf6-crypto-cipher-tests-0.0.11.drv | |
/nix/store/4af7y4kv8pj6hj5laqhcbr3sswiq4mrw-cipher-aes-0.2.11.drv | |
/nix/store/8alf1w8lfa098giwi3k6jiy1qzm13d9j-xmlhtml-0.2.5.2.drv | |
/nix/store/hbmafrim1xb1kb203hvhay1vsk4jsck8-map-syntax-0.2.0.2.drv | |
/nix/store/5gyq00cqljmz6cgg1a7r2c7v1a2al288-heist-1.0.1.2.drv | |
/nix/store/75iqsln9sjd4rspjqciwklkwg9pn8swy-test-framework-smallcheck-0.2.drv | |
/nix/store/lm8xb7j9aqrpbpw94n3z7994ahqd2qa3-readable-0.3.1.drv | |
/nix/store/y80gkglgwrw5nr3lvjcrpsximx6i0qvz-zlib-bindings-0.1.1.5.drv | |
/nix/store/manjzn145hjzz0yxkbkx3whhra944cwm-io-streams-1.5.0.1.drv | |
/nix/store/b3a655714032dgnqbk1xqgb6ji259gv9-snap-core-1.0.3.1.drv | |
/nix/store/fh9wvr6hs56fx8fvsfq8ib03kxsclgdi-io-streams-haproxy-1.0.0.2.drv | |
/nix/store/mqqh17fivkh324pzmh3apb3lw0fh0n44-http-common-0.8.2.0.drv | |
/nix/store/msw32f1d1zqpgxzdjvkk9fis6nzvxc0b-openssl-streams-1.2.1.3.drv | |
/nix/store/q3dkw8nw0mhdxbl4v50li8bc9q6dbswk-http-streams-0.8.5.5.drv | |
/nix/store/7fwph1yzrm8g6pdxn9l2y9mrjb3mfl5m-snap-server-1.0.3.3.drv | |
/nix/store/lhdaz8nm2lw1dwkpq32ccgyhxgmkm5xa-crypto-random-0.0.9.drv | |
/nix/store/cqcc1d376j803p8n0av16jlgyyi09isa-cprng-aes-0.6.1.drv | |
/nix/store/fg0gydrzbsmiprk0gswq0la2z0dpd2d6-skein-1.0.9.4.drv | |
/nix/store/d23w1qzi8cx6ld81l200pcdvwa0fmyw7-clientsession-0.9.1.2.drv | |
/nix/store/gp35fzizhkxz42dh0psdzd29208na9bv-configurator-0.3.0.0.drv | |
/nix/store/4hxw15wrfgwbsdicic2g5acc2p4flgs5-snap-1.1.0.0.drv | |
/nix/store/58mz9mzcvvi5zh1qwyf8b2mln9mxbh75-snap-cors-1.3.0.drv | |
/nix/store/ajlm1z2l7xa4ps76kzcs895a014x6zkl-either-4.5.drv | |
/nix/store/xmj6z8n0qdicqr35yjmynszy9b40fhk1-errors-2.2.4.drv | |
/nix/store/8plhvii2xkmq61s62p8n136dc9c9wmbn-servant-snap-0.8.2.drv | |
these paths will be fetched (0.07 MiB download, 0.65 MiB unpacked): | |
/nix/store/pfhwv11ygfl9acv7y05x40kyrdgfa06k-connection-0.2.8 | |
building '/nix/store/0aw0k2pzibffd8l71hr29in5wnxmcnwa-remove-references-to.drv'... | |
dyld: Library not loaded: /usr/lib/system/libsystem_network.dylib | |
Referenced from: /nix/store/8ykfqv6jx9jvfhnc4cdygdzg0piy8253-Libsystem-osx-10.11.6/lib/libSystem.B.dylib | |
Reason: image not found | |
builder for '/nix/store/0aw0k2pzibffd8l71hr29in5wnxmcnwa-remove-references-to.drv' failed due to signal 6 (Abort trap: 6) | |
cannot build derivation '/nix/store/8plhvii2xkmq61s62p8n136dc9c9wmbn-servant-snap-0.8.2.drv': 1 dependencies couldn't be built | |
error: build of '/nix/store/8plhvii2xkmq61s62p8n136dc9c9wmbn-servant-snap-0.8.2.drv' failed | |
bash-3.2$ nix-env --version | |
nix-env (Nix) 2.2.1 | |
bash-3.2$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ compiler ? "default" }: | |
let | |
pkgs = import ./pkgs.nix; | |
haskellPackages = if compiler == "default" | |
then pkgs.haskellPackages | |
else pkgs.haskell.packages.${compiler}; | |
in { | |
servant-snap = haskellPackages.callPackage ./default.nix {}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment