Update flake.nix
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 20m35s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 20m35s
This commit is contained in:
parent
30721773c8
commit
1c24a05200
1 changed files with 14 additions and 6 deletions
14
flake.nix
14
flake.nix
|
@ -39,8 +39,16 @@
|
||||||
|
|
||||||
buildInputs = with pkgs; [ vulkan-headers vulkan-loader vulkan-validation-layers renderdoc ]
|
buildInputs = with pkgs; [ vulkan-headers vulkan-loader vulkan-validation-layers renderdoc ]
|
||||||
++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isLinux (with pkgs; [
|
++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isLinux (with pkgs; [
|
||||||
libxkbcommon wayland libGL # Wayland
|
# Wayland
|
||||||
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libxcb xorg.libxshmfence # Xorg
|
libxkbcommon
|
||||||
|
wayland
|
||||||
|
libGL
|
||||||
|
# Xorg
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXcursor
|
||||||
|
xorg.libXi
|
||||||
|
xorg.libxcb
|
||||||
|
xorg.libxshmfence
|
||||||
])
|
])
|
||||||
++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isDarwin (with pkgs; [ darwin.apple_sdk.frameworks.SystemConfiguration ]);
|
++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isDarwin (with pkgs; [ darwin.apple_sdk.frameworks.SystemConfiguration ]);
|
||||||
|
|
||||||
|
@ -51,7 +59,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
mkCustomShell = { packages ? [ ] }: pkgs.mkShell {
|
mkCustomShell = { packages ? [ ] }: pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = [
|
||||||
renderdoc
|
renderdoc
|
||||||
(rust.override { extensions = [ "rust-src" "rust-analyzer" ]; })
|
(rust.override { extensions = [ "rust-src" "rust-analyzer" ]; })
|
||||||
] ++ nativeBuildInputs;
|
] ++ nativeBuildInputs;
|
||||||
|
|
Loading…
Add table
Reference in a new issue