co2_sensing/flake.nix
2024-07-04 20:32:50 +02:00

28 lines
558 B
Nix

{
description = "Shell environment for building this package";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = {
self,
nixpkgs,
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.${system}.default =
pkgs.mkShell rec
{
buildInputs = with pkgs; [
pkg-config
probe-rs
];
LD_LIBRARY_PATH =
builtins.foldl' (a: b: "${a}:${b}/lib") "${pkgs.vulkan-loader}/lib" buildInputs;
};
};
}