Tiled Forward Rendering #5
|
@ -1,5 +1,4 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "nightly-2023-11-21"
|
channel = "nightly"
|
||||||
#components = [ "rustfmt", "rustc-dev" ]
|
date = "2023-11-21"
|
||||||
targets = [ "x86_64-unknown-linux-gnu" ]
|
targets = [ "x86_64-unknown-linux-gnu" ]
|
||||||
#profile = "minimal"
|
|
52
shell.nix
52
shell.nix
|
@ -1,25 +1,27 @@
|
||||||
{ pkgs ? import <nixpkgs> { } }:
|
let
|
||||||
|
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
|
||||||
with pkgs;
|
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
|
||||||
|
in
|
||||||
mkShell rec {
|
with nixpkgs;
|
||||||
nativeBuildInputs = [
|
stdenv.mkDerivation rec {
|
||||||
pkg-config
|
name = "lyra_engine_dev";
|
||||||
openssl
|
nativeBuildInputs = [
|
||||||
wasm-pack
|
pkg-config
|
||||||
trunk
|
openssl
|
||||||
valgrind
|
wasm-pack
|
||||||
heaptrack
|
trunk
|
||||||
mold
|
valgrind
|
||||||
udev
|
heaptrack
|
||||||
lua5_4_compat
|
mold
|
||||||
rustup
|
udev
|
||||||
];
|
lua5_4_compat
|
||||||
buildInputs = [
|
(nixpkgs.rustChannelOf { rustToolchain = ./rust-toolchain.toml; }).rust
|
||||||
udev alsa-lib libGL gcc
|
];
|
||||||
vulkan-loader vulkan-headers vulkan-tools
|
buildInputs = [
|
||||||
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 feature
|
udev alsa-lib libGL gcc
|
||||||
libxkbcommon wayland # To use the wayland feature
|
vulkan-loader vulkan-headers vulkan-tools
|
||||||
];
|
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 feature
|
||||||
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
libxkbcommon wayland # To use the wayland feature
|
||||||
}
|
];
|
||||||
|
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue