nh2 / static-haskell-nix

easily build most Haskell programs into fully static Linux executables
388 stars 36 forks source link

Error Building Default Scotty App #8

Closed tmountain closed 3 years ago

tmountain commented 5 years ago

Hi, I get the following when trying to build the default app.

NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/2c07921cff84dfb0b9e0f6c2d10ee2bfee6a85ac.tar.gz time nix-build --no-out-link
make[1]: *** [utils/ghc-cabal/ghc.mk:56: utils/ghc-cabal/dist/build/tmp/ghc-cabal] Killed
make: *** [Makefile:123: all] Error 2
builder for '/nix/store/99vw0012bc3h69858v4iqb8227lwxcax-ghc-8.4.3.drv' failed with exit code 2
cannot build derivation '/nix/store/k0mp0y4dvrxnab3wy214668x93wk5870-example-scotty-app-0.1.0.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/k0mp0y4dvrxnab3wy214668x93wk5870-example-scotty-app-0.1.0.0.drv' failed

I'm using cachix as suggested. Any suggestions?

nh2 commented 5 years ago

Is this still the case with latest master?

In general the Killed looks to me like an out-of-memory kill or something similarly out-of-control of static-haskell-nix, so it would be great if you could retry.

nh2 commented 3 years ago

Closing, as me and the CI server build this successfully. Please reopen if you can reproduce.