Nix: remove patch

This commit is contained in:
Mihai Fufezan 2024-04-11 01:31:31 +03:00
parent d9a6229434
commit 715a54fff4
Signed by: fufexan
SSH Key Fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg
2 changed files with 0 additions and 20 deletions

View File

@ -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")

View File

@ -21,11 +21,6 @@ stdenv.mkDerivation {
src = ../.;
patches = [
# remove PAM file install check
./cmake.patch
];
nativeBuildInputs = [
cmake
pkg-config