mirror of
https://github.com/malmeloo/FindMy.py.git
synced 2026-04-17 21:53:57 +02:00
docs: switch to book-theme
This commit is contained in:
15
shell.nix
15
shell.nix
@@ -1,18 +1,21 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}:
|
||||
|
||||
let
|
||||
unstable = import (fetchTarball https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz) { };
|
||||
unstable = import (fetchTarball "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz") { };
|
||||
in
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
python312
|
||||
unstable.uv
|
||||
gh
|
||||
graphviz
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
if [[ -d .venv/ ]]; then
|
||||
source .venv/bin/activate
|
||||
fi
|
||||
if [[ -d .venv/ ]]; then
|
||||
source .venv/bin/activate
|
||||
fi
|
||||
'';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user