Skip to content

Commit 86f618e

Browse files
committed
Add NixOS shell config
Via rust-windowing/glutin#642
1 parent 5d4ee59 commit 86f618e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

default.nix

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
let
2+
pkgs = import <nixpkgs> {};
3+
in pkgs.stdenv.mkDerivation rec {
4+
name = "glutin-env";
5+
LD_LIBRARY_PATH = with pkgs.xlibs; "${pkgs.mesa}/lib:${libX11}/lib:${libXcursor}/lib:${libXxf86vm}/lib:${libXi}/lib:${libXrandr}/lib";
6+
}

0 commit comments

Comments
 (0)