nix: fix warning by replacing pkgs.system with pkgs.stdenv.hostPlatform.system

This commit is contained in:
ColorSkyFun
2025-11-03 13:17:25 +08:00
parent e47dc831c4
commit 1271832e94
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ in {
};
package = lib.mkOption {
type = lib.types.package;
default = self.packages.${pkgs.system}.mango;
default = self.packages.${pkgs.stdenv.hostPlatform.system}.mango;
description = "The mango package to use";
};
systemd = {

View File

@@ -11,7 +11,7 @@ in {
enable = lib.mkEnableOption "mango, a wayland compositor based on dwl";
package = lib.mkOption {
type = lib.types.package;
default = self.packages.${pkgs.system}.mango;
default = self.packages.${pkgs.stdenv.hostPlatform.system}.mango;
description = "The mango package to use";
};
};