diff options
| author | Cole Mickens <cole.mickens@gmail.com> | 2022-12-29 22:19:15 -0800 |
|---|---|---|
| committer | Mihai Fufezan <fufexan@pm.me> | 2023-01-03 13:56:23 +0200 |
| commit | 0b26b1eed68c5ece7aa6f93f3ef4df9bac9b7cdf (patch) | |
| tree | 377453b453bcd0df96616cfd0b385048343f8e65 | |
| parent | a33ecec61ef4c5749a17f52b15f0e0d0722b1f3d (diff) | |
s/pkgs.system/pkgs.hostPlatform.system/g
| -rw-r--r-- | flake.nix | 4 | ||||
| -rw-r--r-- | nix/hm-module.nix | 2 | ||||
| -rw-r--r-- | nix/module.nix | 6 |
3 files changed, 6 insertions, 6 deletions
@@ -57,8 +57,8 @@ mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"]; }); - xdg-desktop-portal-hyprland = inputs.xdph.packages.${prev.system}.default.override { - hyprland-share-picker = inputs.xdph.packages.${prev.system}.hyprland-share-picker.override {inherit hyprland;}; + xdg-desktop-portal-hyprland = inputs.xdph.packages.${prev.hostPlatform.system}.default.override { + hyprland-share-picker = inputs.xdph.packages.${prev.hostPlatform.system}.hyprland-share-picker.override {inherit hyprland;}; }; }; diff --git a/nix/hm-module.nix b/nix/hm-module.nix index fc9f6842..b6eeba8a 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -5,7 +5,7 @@ self: { ... }: let cfg = config.wayland.windowManager.hyprland; - defaultHyprlandPackage = self.packages.${pkgs.system}.default.override { + defaultHyprlandPackage = self.packages.${pkgs.hostPlatform.system}.default.override { enableXWayland = cfg.xwayland.enable; hidpiXWayland = cfg.xwayland.hidpi; nvidiaPatches = cfg.nvidiaPatches; diff --git a/nix/module.nix b/nix/module.nix index bb577d8e..6ddedfdc 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -8,7 +8,7 @@ inputs: { with lib; let cfg = config.programs.hyprland; - defaultHyprlandPackage = inputs.self.packages.${pkgs.system}.default.override { + defaultHyprlandPackage = inputs.self.packages.${pkgs.hostPlatform.system}.default.override { enableXWayland = cfg.xwayland.enable; hidpiXWayland = cfg.xwayland.hidpi; nvidiaPatches = cfg.nvidiaPatches; @@ -94,8 +94,8 @@ in { enable = mkDefault true; # xdg-desktop-portal-hyprland extraPortals = lib.mkIf (cfg.package != null) [ - (inputs.xdph.packages.${pkgs.system}.xdg-desktop-portal-hyprland.override { - hyprland-share-picker = inputs.xdph.packages.${pkgs.system}.hyprland-share-picker.override { + (inputs.xdph.packages.${pkgs.hostPlatform.system}.xdg-desktop-portal-hyprland.override { + hyprland-share-picker = inputs.xdph.packages.${pkgs.hostPlatform.system}.hyprland-share-picker.override { hyprland = cfg.package; }; }) |
