Skip to content

Instantly share code, notes, and snippets.

@whazor
Created February 20, 2026 17:08
Show Gist options
  • Select an option

  • Save whazor/bca8b687e26081e77d818bc26033c029 to your computer and use it in GitHub Desktop.

Select an option

Save whazor/bca8b687e26081e77d818bc26033c029 to your computer and use it in GitHub Desktop.
{
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