From b3fa578b2370dc05838335f1a39ecf324a5ed09f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 20 Nov 2024 23:14:58 +0000 Subject: [PATCH] devenv --system x86_64-linux build --- devenv/src/flake.tmpl.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/devenv/src/flake.tmpl.nix b/devenv/src/flake.tmpl.nix index 0449a54f9..8015f94ca 100644 --- a/devenv/src/flake.tmpl.nix +++ b/devenv/src/flake.tmpl.nix @@ -117,16 +117,18 @@ } else { } ) options; + + systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; in { - packages."${system}" = { + devShell = lib.genAttrs systems (system: config.shell); + packages = lib.genAttrs systems (system: { optionsJSON = options.optionsJSON; # deprecated inherit (config) info procfileScript procfileEnv procfile; ci = config.ciDerivation; - }; + }); devenv = config; build = build project.options project.config; - devShell."${system}" = config.shell; }; }