From 0f37644eff3a239a7d2cae278e8cdfbc49ef5b03 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Wed, 8 Mar 2023 12:23:13 +0200 Subject: [PATCH] feat: update this horrible legacy shell.nix --- shell.nix | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/shell.nix b/shell.nix index c6e0768..400cd4b 100644 --- a/shell.nix +++ b/shell.nix @@ -13,18 +13,38 @@ pkgs.mkShell { buildInputs = [ rust ] ++ (with pkgs; [ + # common rust-analyzer pkg-config clang mold + # api postgresql_15.lib - openssl + + # client + alsa-lib + udev + wayland + xorg.libX11 + xorg.libXcursor + xorg.libXrandr + xorg.libXi ]); shellHook = '' - export LD_LIBRARY_PATH="${lib.makeLibraryPath [ pkgs.postgresql_15.lib pkgs.openssl ]}"; + export LD_LIBRARY_PATH="${lib.makeLibraryPath [ + pkgs.postgresql_15.lib + pkgs.openssl + pkgs.alsa-lib + pkgs.udev + pkgs.wayland + pkgs.xorg.libX11 + pkgs.xorg.libXcursor + pkgs.xorg.libXrandr + pkgs.xorg.libXi + ]}"; ''; #RUST_BACKTRACE = 1; } -- 2.44.1