Added nix shell (switched from fedora)
parent
d627e8229e
commit
51888d5370
@ -0,0 +1,19 @@
|
|||||||
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
|
with pkgs;
|
||||||
|
|
||||||
|
mkShell rec {
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
rustup git-lfs clang udev alsa-lib vulkan-loader fmodex gcc gcc-unwrapped fmodex
|
||||||
|
xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 feature
|
||||||
|
libxkbcommon wayland # To use the wayland feature
|
||||||
|
];
|
||||||
|
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
export LD_LIBRARY_PATH=lib/linux:$LD_LIBRARY_PATH
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue