This commit is contained in:
Spectre 2024-09-02 16:56:54 +02:00
commit 223de1026e
3 changed files with 147 additions and 0 deletions

24
flake.nix Normal file
View file

@ -0,0 +1,24 @@
{
description = "Python development shell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = {
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
python-packages = ps:
with ps; [
];
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
bashInteractive
(python3.withPackages python-packages)
];
};
});
}