From 94e342bb889b25ab5f6241acb9ebb633415e9c46 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 28 Nov 2021 15:58:33 +0100 Subject: Improve shell file a bit --- shell.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/shell.nix b/shell.nix index 3edf0b2..0cf042f 100644 --- a/shell.nix +++ b/shell.nix @@ -1,7 +1,13 @@ -{ pkgs ? import {}, pythonPackages ? pkgs.python38Packages }: +{ pkgs ? import {} +, python ? pkgs.python38 }: +let + pythonEnv = python.withPackages (pkgs: with pkgs; [ + jinja2 pillow pyyaml + ]); +in pkgs.mkShell { - buildInputs = with pythonPackages; [ - jinja2 pillow pyyaml pkgs.exiftool + buildInputs = [ + pythonEnv pkgs.exiftool ]; } -- cgit v1.2.3