From 744add83cb922e074bc41b45ee35f37e3f1b2b40 Mon Sep 17 00:00:00 2001 From: Sebastian Walz Date: Fri, 11 Oct 2024 15:11:47 +0200 Subject: [PATCH] feat(run.nix): expose more --- flake.nix | 2 ++ nix/run.nix | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 7f3147cb..b8c5cf70 100644 --- a/flake.nix +++ b/flake.nix @@ -55,5 +55,7 @@ exposed-stable.checks))); lib = forAllSystems ({ exposed, ... }: { inherit (exposed) run; }); + + exposed = forAllSystems ({ exposed, ... }: exposed); }; } diff --git a/nix/run.nix b/nix/run.nix index 4bff5a75..0c6aa45c 100644 --- a/nix/run.nix +++ b/nix/run.nix @@ -35,6 +35,7 @@ let in project.config.run // { + inherit (project) config; + inherit (project.config) enabledPackages; shellHook = installationScript; - enabledPackages = project.config.enabledPackages; }