initial commit

This commit is contained in:
Noa Aarts 2025-12-12 13:42:34 +01:00
commit e9cf83145f
Signed by: noa
GPG key ID: 1850932741EFF672
7 changed files with 74 additions and 0 deletions

30
flake.nix Normal file
View file

@ -0,0 +1,30 @@
{
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
]
))
];
};
};
}