mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
chore(nix): define LD_LIBRARY_PATH
outside shellHook
For consistency with other environment variables defined in the same file.
This commit is contained in:
parent
e61d7f808a
commit
e4cd5a1c96
1 changed files with 3 additions and 2 deletions
|
@ -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 libxkbcommon ]}
|
||||
# Fix invalid option errors during linking
|
||||
# https://github.com/mozilla/nixpkgs-mozilla/commit/c72ff151a3e25f14182569679ed4cd22ef352328
|
||||
unset AS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue