ok maybe leave the glaze patch

i updated it to get the version properly though
(ie for any nixpkgs channel)
This commit is contained in:
do butterflies cry? 2026-03-22 12:35:02 +10:00
parent 01d136b291
commit c9bdad1a22
Signed by: cry
GPG key ID: F68745A836CA0412

View file

@ -48,34 +48,34 @@
xdg-desktop-portal-hyprland = xdg-desktop-portal-hyprland =
lib.mkIf (inputs?hyprland) lib.mkIf (inputs?hyprland)
inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland; inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
# hyprland-git = hyprland-git =
# lib.mkIf (inputs?hyprland) lib.mkIf (inputs?hyprland)
# (inputs.hyprland.packages.${system}.hyprland.overrideAttrs (final: prev: { (inputs.hyprland.packages.${system}.hyprland.overrideAttrs (final: prev: {
# patches = let patches = let
# glaze_version = pkgs.glaze.version; glaze_version = inputs.hyprland.inputs.nixpkgs.legacyPackages.glaze.version;
# in in
# prev.patches prev.patches
# ++ [ ++ [
# '' ''
# diff --git a/hyprpm/CMakeLists.txt b/hyprpm/CMakeLists.txt diff --git a/hyprpm/CMakeLists.txt b/hyprpm/CMakeLists.txt
# index 9f1318f4..7d5b8eda 100644 index 9f1318f4..7d5b8eda 100644
# --- a/hyprpm/CMakeLists.txt --- a/hyprpm/CMakeLists.txt
# +++ b/hyprpm/CMakeLists.txt +++ b/hyprpm/CMakeLists.txt
# @@ -11,9 +11,9 @@ set(CMAKE_CXX_STANDARD 23) @@ -11,9 +11,9 @@ set(CMAKE_CXX_STANDARD 23)
# pkg_check_modules(hyprpm_deps REQUIRED IMPORTED_TARGET tomlplusplus hyprutils>=0.7.0) pkg_check_modules(hyprpm_deps REQUIRED IMPORTED_TARGET tomlplusplus hyprutils>=0.7.0)
# -find_package(glaze 7.0.0 QUIET) -find_package(glaze 7.0.0 QUIET)
# +find_package(glaze ${glaze_version} QUIET) +find_package(glaze ${glaze_version} QUIET)
# if (NOT glaze_FOUND) if (NOT glaze_FOUND)
# - set(GLAZE_VERSION v7.0.0) - set(GLAZE_VERSION v7.0.0)
# + set(GLAZE_VERSION v${glaze_version}) + set(GLAZE_VERSION v${glaze_version})
# message(STATUS "glaze dependency not found, retrieving ''${GLAZE_VERSION} with FetchContent") message(STATUS "glaze dependency not found, retrieving ''${GLAZE_VERSION} with FetchContent")
# include(FetchContent) include(FetchContent)
# FetchContent_Declare( FetchContent_Declare(
# '' ''
# ]; ];
# })); }));
prismlauncher = pkgs.prismlauncher.overrideAttrs (final: prev: { prismlauncher = pkgs.prismlauncher.overrideAttrs (final: prev: {
buildInputs = buildInputs =