summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorMihai Fufezan <mihai@fufexan.net>2026-02-11 22:34:42 +0200
committerMihai Fufezan <mihai@fufexan.net>2026-02-12 00:01:33 +0200
commit380d14998ec34e279e84b6fd87f96c048d004511 (patch)
tree9ff83cc81bd2e29e392c691dc33c683ede98503a /nix
parentfd48d102e163efb156d4afbe8b3bf85a7b08d103 (diff)
nix: remove glaze patch
Signed-off-by: Tyr Heimdal <tyr.heimdal@warning.no>
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix7
-rw-r--r--nix/glaze.patch16
2 files changed, 0 insertions, 23 deletions
diff --git a/nix/default.nix b/nix/default.nix
index b09f67f6..b458247e 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -105,13 +105,6 @@ in
]));
};
- patches = [
- # Bump hyprpm's glaze dependency to 7.0.0, the version already present
- # in Nixpkgs.
- # TODO: apply patch globally when Arch repos get glaze 7.0.0.
- ./glaze.patch
- ];
-
postPatch = ''
# Fix hardcoded paths to /usr installation
sed -i "s#/usr#$out#" src/render/OpenGL.cpp
diff --git a/nix/glaze.patch b/nix/glaze.patch
deleted file mode 100644
index 7b793dd5..00000000
--- a/nix/glaze.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/hyprpm/CMakeLists.txt b/hyprpm/CMakeLists.txt
-index ee738104..377872dc 100644
---- a/hyprpm/CMakeLists.txt
-+++ b/hyprpm/CMakeLists.txt
-@@ -11,9 +11,9 @@ set(CMAKE_CXX_STANDARD 23)
-
- pkg_check_modules(hyprpm_deps REQUIRED IMPORTED_TARGET tomlplusplus hyprutils>=0.7.0)
-
--find_package(glaze 6.0.0 QUIET)
-+find_package(glaze 7.0.0 QUIET)
- if (NOT glaze_FOUND)
-- set(GLAZE_VERSION v6.1.0)
-+ set(GLAZE_VERSION v7.0.0)
- message(STATUS "glaze dependency not found, retrieving ${GLAZE_VERSION} with FetchContent")
- include(FetchContent)
- FetchContent_Declare(