NIX: flake.nix for development environment
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{pkgs ? import <nixpkgs> {}}:
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = with pkgs; [
|
||||
libjpeg_turbo
|
||||
];
|
||||
# This tells pkg-config where the Nix libraries are automatically
|
||||
shellHook = ''
|
||||
echo "Image Processor Dev Environment Loaded"
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user