and a python3 package

This commit is contained in:
Arne Keller 2021-06-15 12:24:36 +02:00
parent 238a9697d5
commit 884e82dab1

View File

@ -1,7 +1,12 @@
with (import <nixpkgs> {}); with (import <nixpkgs> {});
let mavenJdk11 = maven.override { let
mavenJdk11 = maven.override {
jdk = pkgs.jdk11; jdk = pkgs.jdk11;
}; };
my-python3-packages = python3-packages: with python3-packages; [
lxml
];
python3-with-my-packages = pkgs.python3.withPackages my-python3-packages;
in in
mkShell { mkShell {
nativeBuildInputs = [ nativeBuildInputs = [
@ -10,6 +15,6 @@ mkShell {
mavenJdk11 mavenJdk11
nodejs-14_x nodejs-14_x
which # required by Vaadin which # required by Vaadin
python3 python3-with-my-packages
]; ];
} }