Merge pull request #23010 from peterhoeg/f/gpg
gnupg: include systemd user units in output
This commit is contained in:
commit
68f01b3b8c
@ -37,6 +37,14 @@ stdenv.mkDerivation rec {
|
||||
pinentryBinaryPath = pinentry.binaryPath or "bin/pinentry";
|
||||
configureFlags = optional guiSupport "--with-pinentry-pgm=${pinentry}/${pinentryBinaryPath}";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/systemd/user
|
||||
for f in doc/examples/systemd-user/*.{service,socket} ; do
|
||||
substitute $f $out/lib/systemd/user/$(basename $f) \
|
||||
--replace /usr/bin $out/bin
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://gnupg.org;
|
||||
description = "A complete and free implementation of the OpenPGP standard";
|
||||
|
Loading…
Reference in New Issue
Block a user