nix-shell and this will create the necessary Python 3.12 environment needed to run the python script on a NixOS (25.11) system.
14 lines
211 B
Nix
14 lines
211 B
Nix
# shell.nix
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
pkgs.mkShell {
|
|
buildInputs = [
|
|
(pkgs.python3.withPackages (ps: with ps; [
|
|
numpy
|
|
openpyxl
|
|
pandas
|
|
python-dateutil
|
|
]))
|
|
];
|
|
}
|
|
|