diff options
Diffstat (limited to 'pkgs/servers/gpsd/default.nix')
-rw-r--r-- | pkgs/servers/gpsd/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/servers/gpsd/default.nix b/pkgs/servers/gpsd/default.nix index ac4d0c066783..ab1668ccfb92 100644 --- a/pkgs/servers/gpsd/default.nix +++ b/pkgs/servers/gpsd/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchurl +, fetchpatch # nativeBuildInputs , scons @@ -75,6 +76,12 @@ stdenv.mkDerivation rec { patches = [ ./sconstruct-env-fixes.patch + + # fix build with Python 3.12 + (fetchpatch { + url = "https://gitlab.com/gpsd/gpsd/-/commit/9157b1282d392b2cc220bafa44b656d6dac311df.patch"; + hash = "sha256-kFMn4HgidQvHwHfcSNH/0g6i1mgvEnZfvAUDPU4gljg="; + }) ]; preBuild = '' |