From 884e82dab1c7f7a33ce7569ff5869d5ab2b8aa6a Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Tue, 15 Jun 2021 12:24:36 +0200 Subject: [PATCH] and a python3 package --- shell.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/shell.nix b/shell.nix index 967c1a5..cda006f 100644 --- a/shell.nix +++ b/shell.nix @@ -1,7 +1,12 @@ with (import {}); -let mavenJdk11 = maven.override { - jdk = pkgs.jdk11; -}; +let + mavenJdk11 = maven.override { + jdk = pkgs.jdk11; + }; + my-python3-packages = python3-packages: with python3-packages; [ + lxml + ]; + python3-with-my-packages = pkgs.python3.withPackages my-python3-packages; in mkShell { nativeBuildInputs = [ @@ -10,6 +15,6 @@ mkShell { mavenJdk11 nodejs-14_x which # required by Vaadin - python3 + python3-with-my-packages ]; }