mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
flclash: fix librust_api.so not found at runtime
This commit is contained in:
@@ -96,6 +96,10 @@ flutter344.buildFlutterApplication {
|
||||
|
||||
flutterBuildFlags = [ "--dart-define=APP_ENV=stable" ];
|
||||
|
||||
# RustLib.init() loads librust_api.so with dlopen(), which ignores
|
||||
# RUNPATH and only consults LD_LIBRARY_PATH
|
||||
extraWrapProgramArgs = "--prefix LD_LIBRARY_PATH : $out/app/flclash/lib";
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "flclash";
|
||||
|
||||
Reference in New Issue
Block a user