2023-04-03 09:24:26 +01:00
|
|
|
{ pkgs ? import <nixpkgs> {}, python ? pkgs.python39, ... }:
|
2023-03-31 09:38:04 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
python-packages = ps: with ps; [
|
|
|
|
pip
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
in
|
2023-04-03 09:24:26 +01:00
|
|
|
pkgs.mkShell {
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
|
|
(python.withPackages python-packages)
|
|
|
|
git
|
|
|
|
zlib
|
|
|
|
libgccjit
|
2023-03-31 09:38:04 +01:00
|
|
|
];
|
2023-04-03 09:24:26 +01:00
|
|
|
|
|
|
|
shellHook = ''
|
|
|
|
export LD_LIBRARY_PATH="${pkgs.zlib}/lib:${pkgs.libgccjit}/lib"
|
2023-03-31 09:38:04 +01:00
|
|
|
'';
|
2023-04-03 09:24:26 +01:00
|
|
|
}
|