schizo working v1
This commit is contained in:
commit
0e8f866256
3 changed files with 373 additions and 0 deletions
23
flake.nix
Normal file
23
flake.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
description = "Python env for HaFaS-Terminal-App";
|
||||
|
||||
inputs.nixpkgs.url = github:nixos/nixpkgs/nixos-25.11;
|
||||
|
||||
outputs = { self, nixpkgs, ... }: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
nixPackages = with pkgs; with python313Packages; [
|
||||
requests
|
||||
prompt-toolkit
|
||||
];
|
||||
in {
|
||||
devShells."${system}".default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
python313
|
||||
] ++ nixPackages;
|
||||
shellHook = ''
|
||||
exec zsh || exec bash || true
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue