Skip to content

Commit

Permalink
home/modules: fix SVGs on some apps
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Aug 16, 2023
1 parent 28af8b3 commit a288449
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
7 changes: 6 additions & 1 deletion home/wayland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ in {

programs.eww-hyprland = {
enable = true;
package = inputs.eww.packages.${pkgs.system}.eww-wayland;
# temp fix until https://github.com/NixOS/nixpkgs/pull/249515 lands. after that,
# eww's nixpkgs has to be updated
package = inputs.eww.packages.${pkgs.system}.eww-wayland.overrideAttrs (old: {
nativeBuildInputs = old.nativeBuildInputs ++ [pkgs.wrapGAppsHook];
buildInputs = lib.lists.remove pkgs.gdk-pixbuf (old.buildInputs ++ [pkgs.librsvg]);
});
};

home.packages = with pkgs; [
Expand Down
17 changes: 9 additions & 8 deletions modules/nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,19 @@
outputHash = "sha256-dR6veXCGVMr5TbCvP0EqyQKTG2XM65VHF9U2nRWyzfA=";
});

# temp fix until https://github.com/NixOS/nixpkgs/pull/249384 is merged
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [prev.wrapGAppsHook];
buildInputs = oldAttrs.buildInputs ++ [prev.librsvg];

# temp fix until https://github.com/rharish101/ReGreet/issues/32 is solved
patches = [../pkgs/regreet.patch];
});
};

clightd = prev.clightd.overrideAttrs (old: {
version = "5.9";
src = prev.fetchFromGitHub {
owner = "FedeDP";
repo = "clightd";
rev = "e273868cb728b9fd0f36944f6b789997e6d74323";
hash = "sha256-0NYWEJNVDfp8KNyWVY8LkvKIQUTq2MGvKUGcuAcl82U=";
};
# temp fix until https://github.com/NixOS/nixpkgs/pull/249382 is merged
gtklock = prev.gtklock.overrideAttrs (old: {
nativeBuildInputs = old.nativeBuildInputs ++ [prev.wrapGAppsHook];
buildInputs = old.buildInputs ++ [prev.librsvg];
});
}
)
Expand Down

0 comments on commit a288449

Please sign in to comment.