More explicitly name all the dependencies in shell.nix #1

Merged
q3k merged 1 commit from hzeller/microscope-control:feature-20260222-update-shellnix into main 2026-02-22 11:39:00 +00:00
Showing only changes of commit 38c483b92a - Show all commits

View file

@ -1,7 +1,22 @@
with import <nixpkgs> {}; {
pkgs ? import <nixpkgs> { },
}:
pkgs.mkShell { pkgs.mkShell {
LD_LIBRARY_PATH = [ buildInputs = with pkgs; [
cargo
# Useful tools
clippy
rustfmt
rust-analyzer
# minimal git
git
less
cacert # For cargo downloads and git to verify certs
];
LD_LIBRARY_PATH = with pkgs; [
# TODO: needed ?
"${xorg.libX11}/lib;${xorg.libXcursor}/lib;${xorg.libXi}/lib;${libxkbcommon}/lib" "${xorg.libX11}/lib;${xorg.libXcursor}/lib;${xorg.libXi}/lib;${libxkbcommon}/lib"
]; ];
} }