ppc login works in mme main
This commit is contained in:
18
flake.nix
18
flake.nix
@@ -34,10 +34,8 @@ let
|
||||
|
||||
# mize build time config
|
||||
mizeBuildConfig = {
|
||||
config = {
|
||||
namespace = "mize.buildtime.ns";
|
||||
module_url = "parts.mize.works";
|
||||
};
|
||||
namespace = "mize.buildtime.ns";
|
||||
module_url = "parts.mize.works";
|
||||
};
|
||||
|
||||
|
||||
@@ -161,11 +159,7 @@ in {
|
||||
# shell without spacetime and other dev commands. just all needed to build mize or ppc
|
||||
buildShell = pkgs.mkShell {
|
||||
|
||||
MIZE_BUILD_CONFIG = let
|
||||
settingsFormat = pkgs.formats.toml { };
|
||||
in settingsFormat.generate "mize-build-config.toml" {
|
||||
config = mizeBuildConfig;
|
||||
};
|
||||
MIZE_BUILD_CONFIG = builtins.toJSON mizeBuildConfig;
|
||||
shellHook = ''
|
||||
mize_project_root=$(${pkgs.lib.getExe pkgs.git} rev-parse --show-toplevel)
|
||||
export MIZE_CONFIG_FILES=$mize_project_root/mize_config.toml
|
||||
@@ -234,11 +228,7 @@ in {
|
||||
};
|
||||
default = pkgs.mkShell rec {
|
||||
|
||||
MIZE_BUILD_CONFIG = let
|
||||
settingsFormat = pkgs.formats.toml { };
|
||||
in settingsFormat.generate "mize-build-config.toml" {
|
||||
config = mizeBuildConfig;
|
||||
};
|
||||
MIZE_BUILD_CONFIG = builtins.toJSON mizeBuildConfig;
|
||||
shellHook = ''
|
||||
mize_project_root=$(${pkgs.lib.getExe pkgs.git} rev-parse --show-toplevel)
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user