dotfiles/pkgs/home-daemon/shell.nix

9 lines
253 B
Nix
Raw Normal View History

2024-03-19 15:30:38 +07:00
{ pkgs ? import <nixpkgs> {}, lib ? pkgs.lib }:
2023-01-24 19:43:26 +07:00
2024-03-19 15:30:38 +07:00
pkgs.mkShell rec {
2023-01-24 19:43:26 +07:00
name = "shell-rust";
2024-03-19 15:30:38 +07:00
nativeBuildInputs = with pkgs; [ pkg-config rustc cargo ];
buildInputs = with pkgs; [ alsa-lib ];
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
2023-01-24 19:43:26 +07:00
}