[Nix-dev] Writeable HOME during builds

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Thu Aug 21 18:18:40 CEST 2014


Hi,

There are some packages which require HOME to be writeable/available
during their build or test process.

A quick example are ‘cabal-bounds’ and ‘ghc-mod’ packages which both
need to call cabal-install during the testing phase but unfortunately
cabal insists on checking HOME/.cabal and causes the tests to fail on both.

What's the procedure for dealing with such situations? At the moment
both packages in question are doCheck = false due to this. See [1] for
an example.

[1]: https://github.com/kazu-yamamoto/ghc-mod/issues/335
-- 
Mateusz K.


More information about the nix-dev mailing list