mirror of
https://github.com/matrix-org/synapse.git
synced 2025-03-13 00:22:19 +00:00
unset LD_LIBRARY_PATH
This commit is contained in:
parent
c09a98c4ae
commit
4edfc5681b
13
flake.nix
13
flake.nix
@ -240,6 +240,19 @@
|
||||
URI
|
||||
YAMLLibYAML
|
||||
]}";
|
||||
|
||||
# Clear the LD_LIBRARY_PATH environment variable on shell init.
|
||||
#
|
||||
# By default, devenv will set LD_LIBRARY_PATH to point to .devenv/profile/lib. This causes
|
||||
# issues when we include `gcc` as a dependency to build C libraries, as the version of glibc
|
||||
# that the development environment's cc compiler uses may differ from that of the system.
|
||||
#
|
||||
# When LD_LIBRARY_PATH is set, system tools will attempt to use the development environment's
|
||||
# libraries. Which, when built against an different glibc version lead, to "version 'GLIBC_X.YY' not
|
||||
# found" errors.
|
||||
enterShell = ''
|
||||
unset LD_LIBRARY_PATH
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user