mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-08 20:58:41 +00:00
Nix shell fixes for uuid (#3784)
* added "with pkgs;" so pkgs does not need to be appended for all the buildInputs. * Added util linux as missing uuid. Compiles successfully.
This commit is contained in:
65
shell.nix
65
shell.nix
@@ -6,42 +6,43 @@ with import (fetchTarball "https://github.com/nixos/nixpkgs/archive/cfd19cdc5468
|
|||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
name = "shadps4-build-env";
|
name = "shadps4-build-env";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = with pkgs; [
|
||||||
pkgs.llvmPackages_18.clang
|
llvmPackages_18.clang
|
||||||
pkgs.cmake
|
cmake
|
||||||
pkgs.pkg-config
|
pkg-config
|
||||||
pkgs.git
|
git
|
||||||
|
util-linux
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = with pkgs; [
|
||||||
pkgs.alsa-lib
|
alsa-lib
|
||||||
pkgs.libpulseaudio
|
libpulseaudio
|
||||||
pkgs.openal
|
openal
|
||||||
pkgs.zlib
|
zlib
|
||||||
pkgs.libedit
|
libedit
|
||||||
pkgs.udev
|
udev
|
||||||
pkgs.libevdev
|
libevdev
|
||||||
pkgs.SDL2
|
SDL2
|
||||||
pkgs.jack2
|
jack2
|
||||||
pkgs.sndio
|
sndio
|
||||||
|
|
||||||
pkgs.vulkan-headers
|
vulkan-headers
|
||||||
pkgs.vulkan-utility-libraries
|
vulkan-utility-libraries
|
||||||
pkgs.vulkan-tools
|
vulkan-tools
|
||||||
|
|
||||||
pkgs.ffmpeg
|
ffmpeg
|
||||||
pkgs.fmt
|
fmt
|
||||||
pkgs.glslang
|
glslang
|
||||||
pkgs.libxkbcommon
|
libxkbcommon
|
||||||
pkgs.wayland
|
wayland
|
||||||
pkgs.xorg.libxcb
|
xorg.libxcb
|
||||||
pkgs.xorg.xcbutil
|
xorg.xcbutil
|
||||||
pkgs.xorg.xcbutilkeysyms
|
xorg.xcbutilkeysyms
|
||||||
pkgs.xorg.xcbutilwm
|
xorg.xcbutilwm
|
||||||
pkgs.sdl3
|
sdl3
|
||||||
pkgs.stb
|
stb
|
||||||
pkgs.wayland-protocols
|
wayland-protocols
|
||||||
pkgs.libpng
|
libpng
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user