summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2025-08-11 20:28:25 +0200
committeruser@node5.net <user@node5.net>2025-08-11 20:28:25 +0200
commit900b3ec36e9fd1baf37c2bb42814c6f2f073ff5c (patch)
treec2fd933edaa0b979af0e9ba48485fdab2b50ba5c /shell.nix
parent68a6566b530b42eeafbb41f74b09445f97fd35e4 (diff)
Add nix-shell file for easy enroll script usage on nix-osnix-shell
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..b6f383b
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,13 @@
+{ pkgs ? import <nixpkgs> {} }:
+
+pkgs.mkShell {
+ buildInputs = [
+ pkgs.python313Packages.exif
+ pkgs.python313Packages.pillow
+ ];
+
+ shellHook = ''
+ echo 'To add image data, run e.g: python enroll.py static/images/the-beauty-of-ethnicity.jpg '
+ '';
+}
+