Created
February 20, 2026 17:08
-
-
Save whazor/bca8b687e26081e77d818bc26033c029 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| description = "Minimal Python + Textual dev shell (all systems)"; | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| }; | |
| outputs = { self, nixpkgs, flake-utils }: | |
| flake-utils.lib.eachDefaultSystem (system: | |
| let | |
| pkgs = import nixpkgs { inherit system; }; | |
| py = pkgs.python3; | |
| in | |
| { | |
| devShells.default = pkgs.mkShell { | |
| packages = [ | |
| (py.withPackages (ps: [ | |
| ps.textual | |
| ps.sh | |
| ])) | |
| ]; | |
| }; | |
| } | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment