diff options
author | linsui <linsui555@gmail.com> | 2023-10-08 03:26:58 +0800 |
---|---|---|
committer | linsui <linsui@inbox.lv> | 2023-11-18 15:17:50 +0800 |
commit | e29677c5187b86d4d300f76574afc47e1991dc65 (patch) | |
tree | a94a1e2026c7cad21de0567cffb468d679f18830 /pkgs/development/compilers/dart | |
parent | 457610539b37d4e529fe675f6c8261184cf7eb4d (diff) |
localsend: 1.11.1 -> 1.12.0, build from source
Diffstat (limited to 'pkgs/development/compilers/dart')
-rw-r--r-- | pkgs/development/compilers/dart/package-overrides/default.nix | 1 | ||||
-rw-r--r-- | pkgs/development/compilers/dart/package-overrides/system-tray/default.nix | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/compilers/dart/package-overrides/default.nix b/pkgs/development/compilers/dart/package-overrides/default.nix index c162929e336a..e015d423a1ca 100644 --- a/pkgs/development/compilers/dart/package-overrides/default.nix +++ b/pkgs/development/compilers/dart/package-overrides/default.nix @@ -5,4 +5,5 @@ handy_window = callPackage ./handy-window { }; matrix = callPackage ./matrix { }; olm = callPackage ./olm { }; + system_tray = callPackage ./system-tray { }; } diff --git a/pkgs/development/compilers/dart/package-overrides/system-tray/default.nix b/pkgs/development/compilers/dart/package-overrides/system-tray/default.nix new file mode 100644 index 000000000000..531d833a6998 --- /dev/null +++ b/pkgs/development/compilers/dart/package-overrides/system-tray/default.nix @@ -0,0 +1,18 @@ +{ libayatana-appindicator +}: + +{ ... }: + +{ preBuild ? "" +, ... +}: + +{ + preBuild = preBuild + '' + # $PUB_CACHE/hosted is a symlink to a store path. + mv $PUB_CACHE/hosted $PUB_CACHE/hosted_copy + cp -HR $PUB_CACHE/hosted_copy $PUB_CACHE/hosted + substituteInPlace $PUB_CACHE/hosted/pub.dev/system_tray-*/linux/tray.cc \ + --replace "libappindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1" + ''; +} |