diff options
Diffstat (limited to 'pkgs/servers/gpsd')
-rw-r--r-- | pkgs/servers/gpsd/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/gpsd/default.nix b/pkgs/servers/gpsd/default.nix index a05b37e9d2ca9..8ea060a82552b 100644 --- a/pkgs/servers/gpsd/default.nix +++ b/pkgs/servers/gpsd/default.nix @@ -42,6 +42,10 @@ stdenv.mkDerivation rec { ./0002-scons-envs-patch.patch ]; + postPatch = '' + sed -i -e '17i#include <sys/sysmacros.h>' serial.c + ''; + # - leapfetch=no disables going online at build time to fetch leap-seconds # info. See <gpsd-src>/build.txt for more info. preBuild = '' |