dotfiles/scripts/f-around-firefox/flake.nix
DannyDannyDanny d9eccc8cdb Add websockets Python package to faf development environment
- Add websockets dependency to Python environment in flake.nix
- Required for WebSocket connections to Firefox tabs
2026-02-01 15:03:43 +01:00

31 lines
670 B
Nix

{
description = "f-around-firefox (faf) script environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs }:
let
system = "aarch64-darwin";
pkgs = import nixpkgs { inherit system; };
pythonEnv = pkgs.python3.withPackages (ps: with ps; [
lz4
websockets
]);
in
{
devShells.${system}.default = pkgs.mkShell {
buildInputs = [
pythonEnv
pkgs.lz4
];
shellHook = ''
echo "faf script environment ready"
echo "Python: $(which python3)"
echo "Run: faf"
'';
};
};
}