mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-20 06:59:50 -05:00
nix: fix warning by replacing pkgs.system with pkgs.stdenv.hostPlatform.system
This commit is contained in:
parent
8983ff5ad6
commit
3c7f46d555
3 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@
|
|||
}: let
|
||||
inherit (pkgs) callPackage ;
|
||||
mango = callPackage ./nix {
|
||||
inherit (inputs.scenefx.packages.${pkgs.system}) scenefx;
|
||||
inherit (inputs.scenefx.packages.${pkgs.stdenv.hostPlatform.system}) scenefx;
|
||||
};
|
||||
shellOverride = old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [];
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue