Skip to content

Instantly share code, notes, and snippets.

@jonoabroad
Created December 4, 2018 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonoabroad/64801a1922cec8104ec73dbc4ad24b13 to your computer and use it in GitHub Desktop.
Save jonoabroad/64801a1922cec8104ec73dbc4ad24b13 to your computer and use it in GitHub Desktop.
$nix-shell default.nix
warning: dumping very large path (> 256 MiB); this may run out of memory
these derivations will be built:
/nix/store/1dlvhp8xrsndzbf1k8m6mpkjmdfcckxv-validation-1.drv
/nix/store/6a5ik6h63cm7m46c51359hhns3qyzfjh-ghc-8.4.4-with-packages.drv
building '/nix/store/1dlvhp8xrsndzbf1k8m6mpkjmdfcckxv-validation-1.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/v98xbvkyqqpk8cj835br0086brbam5ml-ghc-8.4.4.
unpacking sources
unpacking source archive /nix/store/r053m9l1b45vjpmc3r4gs2wvrxsijr2s-validation-1.tar.gz
source root is validation-1
setting SOURCE_DATE_EPOCH to timestamp 1519607705 of file validation-1/validation.cabal
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j1 -threaded
[1 of 1] Compiling Main ( Setup.hs, /build/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/ryh3p0is0179giggn5gwcgnz2jf9kg7m-validation-1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/47gdc903pvybbdv9y5l16b7jkpi4hwc2-validation-1-doc/share/doc/validation-1 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j1 --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/s2n99784krxl91mfw3cnn9ylbb5fjvkx-ncurses-6.1/lib --extra-lib-dirs=/nix/store/rxaclc3vhxbzgfllv7601i85z854h48a-gmp-6.1.2/lib
Using Parsec parser
Configuring validation-1...
CallStack (from HasCallStack):
die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:958:20 in Cabal-2.2.0.1:Distribution.Simple.Configure
configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:462:12 in Cabal-2.2.0.1:Distribution.Simple.Configure
configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-2.2.0.1:Distribution.Simple
confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.2.0.1:Distribution.Simple.UserHooks
configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-2.2.0.1:Distribution.Simple
defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-2.2.0.1:Distribution.Simple
defaultMain, called at Setup.hs:2:8 in main:Main
Setup: Encountered missing dependencies:
hedgehog ==0.5.*
builder for '/nix/store/1dlvhp8xrsndzbf1k8m6mpkjmdfcckxv-validation-1.drv' failed with exit code 1
cannot build derivation '/nix/store/6a5ik6h63cm7m46c51359hhns3qyzfjh-ghc-8.4.4-with-packages.drv': 1 dependencies couldn't be built
error: build of '/nix/store/6a5ik6h63cm7m46c51359hhns3qyzfjh-ghc-8.4.4-with-packages.drv' failed
@vaibhavsagar
Copy link

Which version of hedgehog do you have available? Is this a work thing or can you share the contents of default.nix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment