Merge #755: gui: add shell.nix to track dependencies

5bb96950b4d99a92e61e48a077b4236d9e3619c7 gui: add shell.nix to track dependencies (edouardparis)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 5bb96950b4d99a92e61e48a077b4236d9e3619c7

Tree-SHA512: b40b0f82631e45308f0690ea08ae2a0ab602dd7f9a108ba08ab6432797c92802c249d79ddf36247b560c51f336b715bf448185c864583e0e7cecbfdb7c6d7c3d
This commit is contained in:
edouardparis 2023-10-30 15:35:33 +01:00
commit 976894e4c5
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

21
gui/shell.nix Normal file
View File

@ -0,0 +1,21 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell rec {
buildInputs = with pkgs; [
expat
fontconfig
freetype
freetype.dev
libGL
pkgconfig
udev
xorg.libX11
xorg.libXcursor
xorg.libXi
xorg.libXrandr
];
LD_LIBRARY_PATH =
builtins.foldl' (a: b: "${a}:${b}/lib") "${pkgs.vulkan-loader}/lib" buildInputs;
}