Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building Nix dependencies (HsInstances in monad-bayes-series) #14

Open
pepeleduin opened this issue Dec 25, 2020 · 0 comments
Open

Comments

@pepeleduin
Copy link

Bug description
I get an error when executing $ nix show-config | grep trusted-users:

[179 of 205] Compiling HsInstances ( compiler/hsSyn/HsInstances.hs, dist/build/HsInstances.o )

/nix/store/fiaj00zrmb7dynd2q9xmcrh5rn0mjwj0-stdenv-linux/setup: line 1326: 173 Killed ./Setup build
builder for '/nix/store/00n4rqhj1n5m09anjh2y2vknjddfb90h-ghc-lib-parser-8.8.0.20190424.drv' failed with exit code 137
cannot build derivation '/nix/store/ly794v98kjbja9zyh63d4q8vfvcbh02p-ghc-8.6.5-with-packages.drv': 1 dependencies couldn't be built
building '/nix/store/ysn3j3y5n7paj6xy2rh44zaa1h0p3p11-python3.7-jupyter_nbextensions_configurator-0.4.1.drv'...
cannot build derivation '/nix/store/ck9cs6amw1xiv8fcwbhkwbr9hrqkvlb2-ghc-monad-bayes.drv': 1 dependencies couldn't be built
error: build of '/nix/store/7rgis0m1j5kvijjfz2bm30b3b969xwb5-ghci-monad-bayes.drv', '/nix/store/bpwnk2kg37b39rwjfr6dhzczbd1gyysw-python3.7-jupyterlab-1.2.2.drv', '/nix/store/ck9cs6amw1xiv8fcwbhkwbr9hrqkvlb2-ghc-monad-bayes.drv', '/nix/store/hh7wwsq3bz0j5wb31xvhjah2svnbasyl-generate-directory.drv', '/nix/store/lz7lkj5s3gj2mvr7j1rajhc988x6zaag-ihaskell-kernel.drv' failed

Sometimes my computer freezes after running the command or it just kills the process (as above).

To Reproduce
I'm following the steps outlined in the monad-bayes-series README.md, precisely in step 4 that I run inside monad-bayes-series folder.

Expected behavior
I hope to build all the Nix dependencies to run the notebooks locally (step 5).

Environment
I'm running the last code-version (commit 37bd5b4) in Linux Mint 20 Xfce 64 bit
Linux Lenovo-G40-80 5.4.0-58-generic #64-Ubuntu SMP x86_64 GNU/Linux

Additional context
I ran the command from step 4 inside blog-resources/profiling (due to the redirect to default.nix, which is inside this folder).
I am a beginner to Nix and Haskell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant