tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openntpd: patch in correct phase, update homepage
Sandro Jäckel
3 years ago
7579d10e
630732fd
+2
-2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
openntpd
default.nix
+2
-2
pkgs/tools/networking/openntpd/default.nix
···
12
sha256 = "0ijsylc7a4jlpxsqa0jq1w1c7333id8pcakzl7a5749ria1xp0l5";
13
};
14
15
-
prePatch = ''
16
sed -i '20i#include <sys/cdefs.h>' src/ntpd.h
17
sed -i '19i#include <sys/cdefs.h>' src/log.c
18
'';
···
33
];
34
35
meta = with lib; {
36
-
homepage = "http://www.openntpd.org/";
37
license = licenses.bsd3;
38
description = "OpenBSD NTP daemon (Debian port)";
39
platforms = platforms.all;
···
12
sha256 = "0ijsylc7a4jlpxsqa0jq1w1c7333id8pcakzl7a5749ria1xp0l5";
13
};
14
15
+
postPatch = ''
16
sed -i '20i#include <sys/cdefs.h>' src/ntpd.h
17
sed -i '19i#include <sys/cdefs.h>' src/log.c
18
'';
···
33
];
34
35
meta = with lib; {
36
+
homepage = "https://www.openntpd.org/";
37
license = licenses.bsd3;
38
description = "OpenBSD NTP daemon (Debian port)";
39
platforms = platforms.all;