-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
docker on NixOS: /opt/host/bin/stack: No such file or directory #974
Comments
So it does look like it's mounting the Can you try running opening a shell in the container using this command (copied from the verbose output above but tweaked slightly):
And then you should be able to poke around the filesystem as its seen when running stack in the container. Some commands (in-container) I'd be interested in seeing the result of:
And on the host OS (outside the container):
|
I have a pretty good hunch what this is. If |
It appears that |
Hi, sorry for late response, I was off. Here are the commands you wanted:
|
I do point out that in the past |
@Fuuzetsu Where did you get your |
I built it either from git or nixpkgs, I do not remember now. But if dynamically linked stack is an issue then it seems like something @peti should know about. |
I'm not familiar with the docker feature, so I may be way off here, but my understanding is that
|
Starting with the next release (stack-0.1.6.0), Stack will have the ability to download a Docker-compatible This should fix the NixOS use case, as well as CentOS 6.x, and is a step toward supporting Docker from non-Linux 64-bit platforms. Please re-open the issue if this is still not working after the next Stack release (stack-0.1.6.0). |
That's a fine solution, thank you! |
* master: (59 commits) Ignore global database when copying precompiled packages #1146 Revert an unneeded change to 'runAndLog' Remove old GHCJS unpack directory if it exists Allow "stack setup ghcjs-0.1.0.20150924_ghc-7.10.2" Properly unzip GHCJS on windows (stack setup) Consider user-specified package flags in stack solver #1071 Fix a warning Colored build status in filewatch mode Add NixOS to 'How to install'. Include NixOS information #1118 Style improvements for Docker compatibility check Fix `awaiting pr` label link Fix GHC 7.8 build Docker: check host's stack compatibility by attempting to run in container and caching the result (#974) Fix formatting in `explicit-setup-deps` section Provide more information about changed files Compile custom Setup.hs instead of interpreting them (fixes #1041) Detect when hpc report gives trivial 100% #1009 Unified coverage report #579 Recommend extra-dep in yaml_configuration.yml ...
Continuing from #972:
Here is the
--verbose
output, using few hours oldmaster
:You can find the docker file at https://github.com/tweag/HaskellR/blob/master/etc/Dockerfile
@borsboom
The text was updated successfully, but these errors were encountered: