mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
Merge pull request #17997 from teozkr/fix/buildstackproject-stackroot
buildStackProject: Fix missing STACK_ROOT causing build errors
This commit is contained in:
commit
d01416ba50
@ -29,7 +29,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