From 715a54fff4b7a223925aeaaad02cb93eb57534e6 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Thu, 11 Apr 2024 01:31:31 +0300 Subject: [PATCH] Nix: remove patch --- nix/cmake.patch | 15 --------------- nix/default.nix | 5 ----- 2 files changed, 20 deletions(-) delete mode 100644 nix/cmake.patch diff --git a/nix/cmake.patch b/nix/cmake.patch deleted file mode 100644 index 92c21d6..0000000 --- a/nix/cmake.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 07e2338..720810b 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -83,9 +83,4 @@ protocol("unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml" "linux-dmabuf-unst - # Installation - install(TARGETS hyprlock) - --install(CODE " -- if (NOT EXISTS \"${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d/hyprlock\") -- install(FILES \"${CMAKE_SOURCE_DIR}/pam/hyprlock\" DESTINATION \"${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d\") -- endif() --") -- -+install(FILES "${CMAKE_SOURCE_DIR}/pam/hyprlock" DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d") diff --git a/nix/default.nix b/nix/default.nix index 0cc8496..deb0634 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -21,11 +21,6 @@ stdenv.mkDerivation { src = ../.; - patches = [ - # remove PAM file install check - ./cmake.patch - ]; - nativeBuildInputs = [ cmake pkg-config