removed devShell for mize as it is a module now

This commit is contained in:
Sebastian Moser
2025-05-06 11:12:42 +02:00
parent 5ea08054e6
commit deeb668b1a

29
lib.nix
View File

@@ -271,7 +271,6 @@ rec {
(fenix.packages."x86_64-linux".combine [
fenix.packages."x86_64-linux".stable.toolchain
fenix.packages."x86_64-linux".targets.wasm32-unknown-unknown.stable.toolchain
fenix.packages."x86_64-linux".stable.toolchain
])
# the shell script, to mk the dist folder, for a standard rust module
@@ -298,38 +297,10 @@ rec {
});
mainDevShell = pkgs.mkShell {
buildInputs = with pkgs; [
wasm-pack #pkg-config openssl #cargo rustc
cargo-generate
(fenix.packages.${buildSystem}.combine [
fenix.packages.${system}.stable.toolchain
fenix.packages.${system}.targets.wasm32-unknown-unknown.stable.toolchain
fenix.packages.${system}.stable.toolchain
])
openssl
];
nativeBuildInputs = with pkgs; [
pkg-config
];
MIZE_BUILD_CONFIG = mizeBuildConfigStr;
shellHook = ''
export MIZE_CONFIG_FILE=${self}/test-config.toml
'';
};
################# output attrset ###################
in rec {
devShell = mainDevShell;
main = modules.mize;
system = hostSystem;