dotfiles/pkgs/home-daemon/shell.nix
2024-04-05 17:33:04 +07:00

9 lines
253 B
Nix

{ pkgs ? import <nixpkgs> {}, lib ? pkgs.lib }:
pkgs.mkShell rec {
name = "shell-rust";
nativeBuildInputs = with pkgs; [ pkg-config rustc cargo ];
buildInputs = with pkgs; [ alsa-lib ];
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
}