From 1626c49714485897187a033914321a0dbfa4bd1f Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 27 Jan 2021 00:28:04 +0000 Subject: [PATCH] gnupg: drop obsolete Emacs syntax highlighting fix Emacs + nix-mode highlights this file just fine without this comment for me, so I assume the problem in nix-mode has been fixed in the five years since this comment was added. --- pkgs/tools/security/gnupg/22.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/gnupg/22.nix b/pkgs/tools/security/gnupg/22.nix index 90ae4300fa6..1030ce3e791 100644 --- a/pkgs/tools/security/gnupg/22.nix +++ b/pkgs/tools/security/gnupg/22.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation rec { sed -i 's/$SOURCE_DATE_EPOCH/''${SOURCE_DATE_EPOCH}/' doc/Makefile.in '' + lib.optionalString ( stdenv.isLinux && pcsclite != null) '' sed -i 's,"libpcsclite\.so[^"]*","${lib.getLib pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c - ''; #" fix Emacs syntax highlighting :-( + ''; pinentryBinaryPath = pinentry.binaryPath or "bin/pinentry"; configureFlags = [