From ed31333b05f67738f491d676c9926bf4aaa0c757 Mon Sep 17 00:00:00 2001 From: Guillaume Bouchard Date: Tue, 26 Jun 2018 23:49:42 +0200 Subject: [PATCH] Add a note in the readme about nixpkgs versions --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 1da5284..ac446e4 100644 --- a/README.md +++ b/README.md @@ -172,3 +172,11 @@ provides a similar system with a different approach: Both projects are now really similar and the only reason I did not contributed to `nix-install-vendor-gl.sh` was because initial `nixGL` had a totally different approach. + +# Troubleshooting + +If by any chance it does not work, you need to install nixGL using the same nixpkgs checkout than the one of your application. For example: + +```bash +NIX_PATH=nixpkgs=https://github.com/nixos/nixpkgs/archive/94d80eb72474bf8243b841058ce45eac2b163943.tar.gz nix build -f ./default.nix nixGLIntel +```