mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
quartus-prime-lite: don't overwrite LD_PRELOAD
Instead, merge the user provided LD_PRELOAD environment variable with the hardcoded libudev.so.1 entry. User provided libs are loaded first.
This commit is contained in:
parent
b201c54346
commit
169dc22b96
@ -90,7 +90,7 @@ in buildFHSEnvChroot rec {
|
||||
# we use the name so that quartus can load the 64 bit verson and modelsim can load the 32 bit version
|
||||
# https://community.intel.com/t5/Intel-FPGA-Software-Installation/Running-Quartus-Prime-Standard-on-WSL-crashes-in-libudev-so/m-p/1189032
|
||||
profile = ''
|
||||
export LD_PRELOAD=libudev.so.0
|
||||
export LD_PRELOAD=''${LD_PRELOAD:+$LD_PRELOAD:}libudev.so.0
|
||||
'';
|
||||
|
||||
# Run the wrappers directly, instead of going via bash.
|
||||
|
Loading…
Reference in New Issue
Block a user