QAS-Flow/flake.nix
2025-12-12 13:42:34 +01:00

30 lines
603 B
Nix

{
description = "Python development shell for work- and research-related stuff.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs =
{
self,
nixpkgs,
...
}@inputs:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
(python312.withPackages (
python-pkgs: with python-pkgs; [
numpy
setuptools
]
))
];
};
};
}