mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
fluux-messenger: fix darwin build
These deps need to be linux only, so condition them as such.
This commit is contained in:
@@ -51,14 +51,16 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cacert
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
webkitgtk_4_1
|
||||
libayatana-appindicator
|
||||
libxscrnsaver
|
||||
cacert
|
||||
];
|
||||
|
||||
# libayatana-appindicator is not in the RUNPATH by default
|
||||
runtimeDependencies = [ libayatana-appindicator ];
|
||||
runtimeDependencies = lib.optionals stdenv.hostPlatform.isLinux [ libayatana-appindicator ];
|
||||
|
||||
tauriBuildFlags = [ "--no-sign" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user