Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff -Naur gpsd-3.22.orig/SConscript gpsd-3.22/SConscript 2--- gpsd-3.22.orig/SConscript 2021-01-09 05:35:30.000000000 +0300 3+++ gpsd-3.22/SConscript 2021-02-25 21:06:47.921044438 +0300 4@@ -518,9 +518,11 @@ 5 'CWRAPPERS_CONFIG_DIR', # pkgsrc 6 # Variables used in testing 7 'WRITE_PAD', # So we can test WRITE_PAD values on the fly. 8+ 'LD_LIBRARY_PATH', # Allows running 'scons check' without 'chrpath' 9+ 'XML_CATALOG_FILES', # Enables validating the manual with 'xmlto' using nix build system 10 ) 11 12-envs = {} 13+envs = os.environ 14 for var in import_env: 15 if var in os.environ: 16 envs[var] = os.environ[var]