From e9c473e671822d0092073b1bf9b62de41cefddcb Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Wed, 12 Jun 2024 15:23:23 +1200 Subject: [PATCH] flake: add devshell --- flake.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/flake.nix b/flake.nix index 5951c06..096a8d1 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,17 @@ ); in { + devShells = forAllSystems (pkgs: { + default = pkgs.mkShell { + packages = with pkgs; [ + stdenv + clang-tools + ]; + shellHook = '' + export PS1="(callisto) $ " + ''; + }; + }); packages = forAllSystems (pkgs: { default = pkgs.stdenv.mkDerivation { name = "callisto";