Skip to content

Commit

Permalink
devenv --system x86_64-linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Nov 20, 2024
1 parent 7ce658c commit b3fa578
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions devenv/src/flake.tmpl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}

0 comments on commit b3fa578

Please sign in to comment.