s/pkgs.system/pkgs.hostPlatform.system/g

This commit is contained in:
Cole Mickens 2022-12-29 22:19:15 -08:00 committed by Mihai Fufezan
parent a33ecec61e
commit 0b26b1eed6
3 changed files with 6 additions and 6 deletions

View file

@ -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;
};
})