Files
FindMy.py/shell.nix
2025-02-27 22:03:45 +01:00

17 lines
301 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
unstable = import (fetchTarball https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz) { };
in
pkgs.mkShell {
packages = with pkgs; [
python312
unstable.uv
];
shellHook = ''
if [[ -d .venv/ ]]; then
source .venv/bin/activate
fi
'';
}