www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 73cd9002adbfa18f331e85e9a177ebe82dc27ab8
parent 3eaf8675650e79c61dcbe442b7c9df83a9ec5d28
Author: guibou <guillaum.bouchard@gmail.com>
Date:   Sat, 16 Sep 2017 19:35:16 +0200

Detail some limitations
Diffstat:
MREADME.md | 17+++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -55,11 +55,11 @@ However there is still two configurations variables hardcoded in the wrapper. Open a bug / pull request if this does not work on your distribution / driver. -It works with `primus`, but there is some artifacts. +It works with `primus`, but there is some artifacts, mostly due to the next fundamental issue: ## Fundamental issue -If your program libraries depends on different version of the same library, for example, this dependency tree: +If your program libraries depends on different versions of the same library, for example, this dependency tree: ``` program @@ -69,4 +69,14 @@ program libBar-1.2 ``` -One version or the other of `libBar` may be used. In practice this does not happen a lot. -\ No newline at end of file +One version or the other of `libBar` may be used. In practice this does not happen a lot. + +A similar issue will happen if your system `libGL.so` depends on some library which are already in your program dependency list. Undefined behaviors can happen. + +## Subprocessus + +It does not work with subprocessus, that's all ;( + +## Haskell Stack `exec` + +You need to call `stack --nix exec -- nixGL yourProgram` instead of `nixGL stack exec -- yourProgram` du to the incompatibility with subprocessus. If `nixGL` is not installed in your stack environment, you can use `stack --nix --no-nix-pure exec ...`.