buildStackProject: Fix missing STACK_ROOT causing build errors
This commit is contained in:
parent
05a81335cf
commit
f35d23b16d
@ -28,7 +28,10 @@ stdenv.mkDerivation (args // {
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
configurePhase = args.configurePhase or "stack setup";
|
||||
configurePhase = args.configurePhase or ''
|
||||
export STACK_ROOT=$NIX_BUILD_TOP/.stack
|
||||
stack setup
|
||||
'';
|
||||
|
||||
buildPhase = args.buildPhase or "stack build";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user