Merge pull request #138363 from pmeiyu/master

smartdns: Fix systemd service
This commit is contained in:
Artturi 2021-09-20 07:10:38 +03:00 committed by GitHub
commit 7d4a2f5b8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,14 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ];
# Force the systemd service file to be regenerated from it's template. This
# file is erroneously added in version 35 and it has already been deleted from
# upstream's git repository. So this "postPatch" phase can be deleted in next
# release.
postPatch = ''
rm -f systemd/smartdns.service
'';
makeFlags = [
"PREFIX=${placeholder "out"}"
"SYSTEMDSYSTEMUNITDIR=${placeholder "out"}/lib/systemd/system"