24 lines
423 B
Nix
24 lines
423 B
Nix
{ pkgs ? import <nixpkgs> { config.allowUnfree = true; } }:
|
|
let
|
|
unstable = import <nixos-unstable> { config.allowUnfree = true; };
|
|
in
|
|
pkgs.mkShell {
|
|
packages = [
|
|
(pkgs.python3.withPackages (ps: with ps; [
|
|
httpx
|
|
beautifulsoup4
|
|
flask
|
|
lxml
|
|
waitress
|
|
]))
|
|
unstable.claude-code
|
|
];
|
|
shellHook = ''
|
|
if [ -f .env ]; then
|
|
set -a
|
|
source .env
|
|
set +a
|
|
fi
|
|
'';
|
|
}
|