mirror of
https://github.com/malmeloo/FindMy.py.git
synced 2026-04-17 21:53:57 +02:00
18 lines
308 B
Nix
18 lines
308 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
|
|
gh
|
|
];
|
|
|
|
shellHook = ''
|
|
if [[ -d .venv/ ]]; then
|
|
source .venv/bin/activate
|
|
fi
|
|
'';
|
|
} |