Hi,

Stack install does its thing in some hashed directory under .stack-work by
default,
but I want to write to <package-root>/bin as part of the configure process.
I'm trying
to do this as follows:

-- configure file contains:
cd $(stack path --project-root)
echo "..." > .bin/foo.sh
cd -

> cd <project-root>
> stack install

I'm doing this under Windows with the born shell in my path.

Problem: the use of stack to find the project-root directory is blocked
waiting for
the outer stack to terminate! This may have something to do with Windows
"Device or resource busy" lock.

Is there a better way?

Thanks,
Dominick




<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to