diff options
author | Julian T <julian@jtle.dk> | 2021-11-28 15:58:33 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-12-06 18:12:07 +0100 |
commit | 94e342bb889b25ab5f6241acb9ebb633415e9c46 (patch) | |
tree | 43d2bfcbe419ba0e2bc890b5ca6aa5c3ddd2d9f9 | |
parent | cff294c4eb6a6608df81e291900f2a479fa863a5 (diff) |
Improve shell file a bit
-rw-r--r-- | shell.nix | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,13 @@ -{ pkgs ? import <nixpkgs> {}, pythonPackages ? pkgs.python38Packages }: +{ pkgs ? import <nixpkgs> {} +, 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 ]; } |