Stack lock issue
djsamperi at gmail.com
Fri Oct 1 15:23:45 UTC 2021
Stack install does its thing in some hashed directory under .stack-work by
but I want to write to <package-root>/bin as part of the configure process.
to do this as follows:
-- configure file contains:
cd $(stack path --project-root)
echo "..." > .bin/foo.sh
> 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
the outer stack to terminate! This may have something to do with Windows
"Device or resource busy" lock.
Is there a better way?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs