add nix-shell

This commit is contained in:
Fl1tzi 2024-01-14 02:17:46 +01:00
parent 005f062ff9
commit e8519ddcf7
No known key found for this signature in database
GPG key ID: 06B333727810C686

18
shell.nix Normal file
View file

@ -0,0 +1,18 @@
with (import <nixpkgs> {});
# shell for dev environment
mkShell {
# build deps
nativeBuildInputs = [
pkgs.cmake
pkgs.pkg-config
];
# runtime build deps
buildInputs = [
pkgs.udev
pkgs.freetype
pkgs.expat
];
}