From 045517c88ba5191419daea7147e546ebc7af884a Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 13 Mar 2022 23:42:29 +0100 Subject: [PATCH] packages/reflex-cache: add devshell --- packages/projects.nix | 9 +++++++++ packages/servers/reflex-cache/.envrc | 1 + 2 files changed, 10 insertions(+) create mode 100644 packages/servers/reflex-cache/.envrc diff --git a/packages/projects.nix b/packages/projects.nix index 4512a6b..e9d1a89 100644 --- a/packages/projects.nix +++ b/packages/projects.nix @@ -37,6 +37,15 @@ in }; devShells = { + reflex-cache = let + inherit (inputs.self.packages.${system}) reflex-cache; + in pkgs.mkShell { + buildInputs = with pkgs; [ + poetry + reflex-cache.dependencyEnv + ]; + PYTHON = reflex-cache.dependencyEnv.interpreter; + }; }; } diff --git a/packages/servers/reflex-cache/.envrc b/packages/servers/reflex-cache/.envrc new file mode 100644 index 0000000..dbcfe1b --- /dev/null +++ b/packages/servers/reflex-cache/.envrc @@ -0,0 +1 @@ +source ../../build-support/activate-shell