Am Do., 25. Feb. 2021 um 15:59 Uhr schrieb Olaf Klinke <olf@aatal-apotheke.de>:
Speaking of which, is there a specification about what filesystem
features stack and its sub-tools expect? I can not build stack projects
on a remote cifs share, but on the local filesystem it works fine. The
error is

Encountered error while migrating Stack database:
    SQLite3 returned ErrorBusy while attempting to perform step:
database is locked
Please report this on https://github.com/commercialhaskell/stack/issues
[...]

In ancient times, locking over NFS didn't work, or at least not reliably. With NFS 4, locking was added to the protocol IIRC, but I have no clue how good it works, especially when you mix various platforms/implementations. What the current state with CIFS regarding locking is: I don't know, but in general I don't really trust remote file systems in this area. :-}