Merge pull request #378 from ColorSkyFun/main
nix: fix warning by replacing pkgs.system with pkgs.stdenv.hostPlatfo…
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
}: let
|
}: let
|
||||||
inherit (pkgs) callPackage ;
|
inherit (pkgs) callPackage ;
|
||||||
mango = callPackage ./nix {
|
mango = callPackage ./nix {
|
||||||
inherit (inputs.scenefx.packages.${pkgs.system}) scenefx;
|
inherit (inputs.scenefx.packages.${pkgs.stdenv.hostPlatform.system}) scenefx;
|
||||||
};
|
};
|
||||||
shellOverride = old: {
|
shellOverride = old: {
|
||||||
nativeBuildInputs = old.nativeBuildInputs ++ [];
|
nativeBuildInputs = old.nativeBuildInputs ++ [];
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ in {
|
|||||||
};
|
};
|
||||||
package = lib.mkOption {
|
package = lib.mkOption {
|
||||||
type = lib.types.package;
|
type = lib.types.package;
|
||||||
default = self.packages.${pkgs.system}.mango;
|
default = self.packages.${pkgs.stdenv.hostPlatform.system}.mango;
|
||||||
description = "The mango package to use";
|
description = "The mango package to use";
|
||||||
};
|
};
|
||||||
systemd = {
|
systemd = {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ in {
|
|||||||
enable = lib.mkEnableOption "mango, a wayland compositor based on dwl";
|
enable = lib.mkEnableOption "mango, a wayland compositor based on dwl";
|
||||||
package = lib.mkOption {
|
package = lib.mkOption {
|
||||||
type = lib.types.package;
|
type = lib.types.package;
|
||||||
default = self.packages.${pkgs.system}.mango;
|
default = self.packages.${pkgs.stdenv.hostPlatform.system}.mango;
|
||||||
description = "The mango package to use";
|
description = "The mango package to use";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user