1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00
nixpkgs/pkgs/servers/gpsd/sconstruct-env-fixes.patch

17 lines
642 B
Diff
Raw Normal View History

2021-02-25 19:16:42 +00:00
diff -Naur gpsd-3.22.orig/SConscript gpsd-3.22/SConscript
--- gpsd-3.22.orig/SConscript 2021-01-09 05:35:30.000000000 +0300
+++ gpsd-3.22/SConscript 2021-02-25 21:06:47.921044438 +0300
@@ -518,9 +518,11 @@
2020-12-03 22:10:40 +00:00
'CWRAPPERS_CONFIG_DIR', # pkgsrc
# Variables used in testing
'WRITE_PAD', # So we can test WRITE_PAD values on the fly.
+ 'LD_LIBRARY_PATH', # Allows running 'scons check' without 'chrpath'
+ 'XML_CATALOG_FILES', # Enables validating the manual with 'xmlto' using nix build system
)
-envs = {}
+envs = os.environ
for var in import_env:
if var in os.environ:
envs[var] = os.environ[var]