about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/programs/gnupg/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/gnupg/default.nix b/modules/programs/gnupg/default.nix
index 63002cc7..1b220a72 100644
--- a/modules/programs/gnupg/default.nix
+++ b/modules/programs/gnupg/default.nix
@@ -33,7 +33,7 @@ let
     inherit pinentryWrapper;
   } ''
     cc -Wall -shared -std=c11 \
-      -DLIBSYSTEMD=\"${pkgs.systemd}/lib/libsystemd.so\" \
+      -DLIBSYSTEMD=\"${pkgs.systemd.lib}/lib/libsystemd.so\" \
       -DPINENTRY_WRAPPER=\"$pinentryWrapper\" \
       $(pkg-config --cflags libsystemd) -ldl \
       "${./agent-wrapper.c}" -o "$out" -fPIC