-
-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libX11 not found. #642
Comments
Maybe @eddyb has an idea? |
The file in question (currently) lives at https://github.com/eddyb/r3/blob/master/default.nix, and it contains: let
pkgs = import <nixpkgs> {};
in pkgs.stdenv.mkDerivation rec {
name = "r3-env";
buildInputs = [ pkgs.freetype ];
LD_LIBRARY_PATH = with pkgs.xlibs; "${pkgs.mesa}/lib:${libX11}/lib:${libXcursor}/lib:${libXxf86vm}/lib:${libXi}/lib";
} Just to get glutin working, only this would be necessary: let
pkgs = import <nixpkgs> {};
in pkgs.stdenv.mkDerivation rec {
name = "glutin-env";
LD_LIBRARY_PATH = with pkgs.xlibs; "${pkgs.mesa}/lib:${libX11}/lib:${libXcursor}/lib:${libXxf86vm}/lib:${libXi}/lib";
} |
Yes, worked like a charm, good man! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah okay,
i'm getting this error with
glutin
:this is my
default.nix
(NixOS) now:Cheers!
The text was updated successfully, but these errors were encountered: