From 9671dd79163e654f61896ec4f61142a71c2f82c0 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Wed, 13 Mar 2024 08:32:46 +0100 Subject: init --- shell.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..5214dde --- /dev/null +++ b/shell.nix @@ -0,0 +1,21 @@ +{ pkgs ? import (import ./nix/sources.nix).nixpkgs { } }: +let inherit (pkgs) lib; in +pkgs.mkShell rec { + nativeBuildInputs = [ + pkgs.cargo + pkgs.pkg-config + pkgs.rustc + ]; + buildInputs = [ + pkgs.alsa-lib + pkgs.libxkbcommon + pkgs.udev + pkgs.vulkan-loader + pkgs.wayland + pkgs.xorg.libX11 + pkgs.xorg.libXcursor + pkgs.xorg.libXi + pkgs.xorg.libXrandr + ]; + LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; +} -- cgit v1.2.3