diff --git a/etc/shell.nix b/etc/shell.nix index 578166b0228..dade0d1c367 100644 --- a/etc/shell.nix +++ b/etc/shell.nix @@ -30,9 +30,10 @@ clangStdenv.mkDerivation rec { # Enable colored cargo and rustc output TERMINFO = "${ncurses.out}/share/terminfo"; + # Fix missing libraries errors (those libraries aren't linked against, so we need to dynamically supply them) + LD_LIBRARY_PATH = lib.makeLibraryPath [ xorg.libXcursor xorg.libXrandr xorg.libXi libxkbcommon ]; + shellHook = '' - # Fix missing libraries errors (those libraries aren't linked against, so we need to dynamically supply them) - export LD_LIBRARY_PATH=${lib.makeLibraryPath [ xorg.libXcursor xorg.libXrandr xorg.libXi ]} # Fix invalid option errors during linking # https://github.com/mozilla/nixpkgs-mozilla/commit/c72ff151a3e25f14182569679ed4cd22ef352328 unset AS