Commit Graph

64 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
3d0457b52a syncthingtray: 1.6.1 -> 1.6.2 2024-09-14 11:08:21 +00:00
R. Ryantm
1698a0cdcb syncthingtray: 1.6.0 -> 1.6.1 2024-09-04 04:50:55 +00:00
R. Ryantm
32206ddb02 syncthingtray-minimal: 1.5.5 -> 1.6.0 2024-08-08 03:21:13 +00:00
R. Ryantm
6985c12626 syncthingtray: 1.5.4 -> 1.5.5 2024-07-13 22:11:21 +00:00
Doron Behar
d69284079e syncthingtray: use versionCheckHook 2024-06-28 18:03:59 +03:00
R. Ryantm
d76ed627b2 syncthingtray: 1.5.3 -> 1.5.4 2024-06-05 03:20:02 +00:00
R. Ryantm
17683c869a syncthingtray: 1.5.2 -> 1.5.3 2024-05-15 17:52:25 +00:00
R. Ryantm
aa9922919e syncthingtray: 1.5.1 -> 1.5.2 2024-04-09 16:53:24 +00:00
R. Ryantm
a0c1ca99ca syncthingtray: 1.5.0 -> 1.5.1 2024-04-03 01:29:59 +00:00
David Knaack
4702e9d9d1 syncthingtray: fix darwin build
qtwayland is a Linux-only dependency
2024-03-12 11:28:52 +01:00
Doron Behar
a907ea8faa syncthingtray: fix qt.qpa.plugin wayland issue 2024-03-11 11:50:25 +02:00
Doron Behar
3deaab7643
Merge pull request #293766 from davidkna/patch-4
syncthingtray: install app bundle in `/Applications`
2024-03-07 22:12:28 +02:00
David Knaack
60a7f51554 syncthingtray: move app to /Applications & add binary to /bin 2024-03-07 10:22:16 +01:00
Doron Behar
825ff0dcd3
syncthingtray.src: use hash instead of sha256
Co-authored-by: Robert Schütz <github@dotlambda.de>
2024-03-06 13:45:27 +00:00
R. Ryantm
43fdeb06f4 syncthingtray: 1.4.13 -> 1.5.0 2024-03-05 17:44:12 +00:00
K900
606c879892 syncthingtray: support building with qt6 2024-02-28 18:49:32 +03:00
R. Ryantm
afefaa2794 syncthingtray: 1.4.12 -> 1.4.13 2024-02-07 05:17:08 +00:00
R. Ryantm
a2c048af7b syncthingtray: 1.4.11 -> 1.4.12 2024-01-03 06:53:42 +00:00
R. Ryantm
aaa5805387 syncthingtray: 1.4.9 -> 1.4.11 2023-12-24 11:02:46 +00:00
V
2ada293386 syncthingtray: add xdg-utils to PATH
This is needed to make opening the web view work.

Change-Id: I2d309e2846a2b31b43c1609a969dd3dc3aba189e
2023-12-18 20:42:47 +01:00
Doron Behar
daa92c473e syncthingtray: 1.4.8 -> 1.4.9
Diff: https://github.com/Martchus/syncthingtray/compare/v1.4.8...v1.4.9
2023-12-01 13:08:04 +02:00
R. Ryantm
8af5126fbd syncthingtray: 1.4.7 -> 1.4.8 2023-11-09 00:14:01 +00:00
Doron Behar
7f492d343e syncthingtray: 1.4.6 -> 1.4.7
Diff: https://github.com/Martchus/syncthingtray/compare/v1.4.6...v1.4.7
2023-10-05 11:24:42 +03:00
Doron Behar
99b48447f9 syncthingtray: enable tests 2023-10-05 11:24:42 +03:00
Doron Behar
8ace65ff3d
treewide: use finalAttrs in all packages I maintain (#255902)
* mpd-touch-screen-gui: use finalAttrs in mkDerivation; reformat

* musescore: use finalAttrs in mkDerivation

* syncthingtray: use stdenv.mkDerivation with a function; reformat

* ocrfeeder: use finalAttrs in mkDerivation; reformat

* castget: use finalAttrs in mkDerivation

* gnome-network-displays: use finalAttrs in mkDerivation

* mailreaders: use finalAttrs in mkDerivation

* mswatch: use finalAttrs in mkDerivation

* uhd: use finalAttrs in mkDerivation

* maxima: use finalAttrs in mkDerivation

* qalculate-gtk: use finalAttrs in mkDerivation

* qalculate-qt: use finalAttrs in mkDerivation

* wxmaxima: use finalAttrs in mkDerivation

* lammps: use finalAttrs in mkDerivation

* mlterm: use finalAttrs in mkDerivation

* video-trimmer: use finalAttrs in mkDerivation

* nerdfonts: use finalAttrs in mkDerivation

* gnomeExtensions.easyScreenCast: use finalAttrs in mkDerivation

* octave: use finalAttrs in mkDerivation; reformat

* comedilib: use finalAttrs in mkDerivation

* cpp-utilities: use finalAttrs in mkDerivation

* libsForQt5.kpeoplevcard: use finalAttrs in mkDerivation; reformat

* liberio: use finalAttrs in mkDerivation

* libqalculate: use finalAttrs in mkDerivation; reformat

* libwtk-sdl2: use finalAttrs in mkDerivation

* libsForQt5.pulseaudio-qt: use finalAttrs in mkDerivation; reformat

* qrupdate: use finalAttrs in mkDerivation; reformat

* libsForQt5.qtforkawesome: use finalAttrs in mkDerivation; reformat

* libsForQt5.qtutilities: use finalAttrs in mkDerivation; reformat

* sqlitecpp: use finalAttrs in mkDerivation; reformat

* tweeny: use finalAttrs in mkDerivation

* volk: use finalAttrs in mkDerivation

* wiringpi: use finalAttrs in mkDerivation

* snzip: use finalAttrs in mkDerivation; reformat

* bpm-tools: use finalAttrs in mkDerivation; reformat

* sacd: use finalAttrs in mkDerivation

* gtk-gnutella: use finalAttrs in mkDerivation; reformat

* sile: use finalAttrs in mkDerivation

* pplatex: use finalAttrs in mkDerivation; reformat
2023-09-21 11:31:17 +03:00
R. Ryantm
ca72defe5f syncthingtray-minimal: 1.4.5 -> 1.4.6 2023-09-08 04:55:13 +00:00
R. Ryantm
6b9d2e7252 syncthingtray: 1.4.4 -> 1.4.5 2023-08-16 02:24:52 +00:00
K900
a8e308bff1 syncthingtray: build as a shared library, small cleanup
This makes the plasmoid actually work.
2023-07-30 09:36:32 +03:00
Doron Behar
79982e885c syncthingtray: 1.4.3 -> 1.4.4
Diff: https://github.com/Martchus/syncthingtray/compare/v1.4.3...v1.4.4
2023-07-08 23:44:13 +03:00
Doron Behar
9789f453cb syncthingtray: 1.4.2 -> 1.4.3
Diff: https://github.com/Martchus/syncthingtray/compare/v1.4.2...v1.4.3
2023-06-08 20:22:53 +03:00
Doron Behar
ac25886057 syncthingtray: 1.4.1 -> 1.4.2
Diff: https://github.com/Martchus/syncthingtray/compare/v1.4.1...v1.4.2
2023-06-08 09:24:54 +03:00
waelwindows
9da70d133f syncthingtray: Add Darwin support 2023-04-16 16:48:03 +03:00
Doron Behar
7a099d691a syncthingtray: 1.3.3 -> 1.4.1
Diff: https://github.com/Martchus/syncthingtray/compare/v1.3.3...v1.4.1
2023-04-06 14:58:29 +03:00
Doron Behar
5b9ed59e80 syncthingtray: 1.3.2 -> 1.3.3
Diff: https://github.com/Martchus/syncthingtray/compare/v1.3.2...v1.3.3
2023-03-08 13:23:31 +02:00
Doron Behar
7317a23ece syncthingtray: 1.3.1 -> 1.3.2
Diff: https://github.com/Martchus/syncthingtray/compare/v1.3.1...v1.3.2

Add `autostartExecPath` option.
2023-03-02 13:59:43 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
R. Ryantm
dc71b0500d syncthingtray: 1.3.0 -> 1.3.1 2022-12-11 12:01:55 +00:00
Doron Behar
24afcac703 syncthingtray: Fix Nix wrapped path in autostart desktop generation
Fixes #199596.
2022-11-10 14:03:26 +02:00
Doron Behar
904e346d54 syncthingtray: 1.2.3 -> 1.3.0 2022-11-05 12:44:12 +02:00
R. Ryantm
ee38ba4c38 syncthingtray: 1.2.2 -> 1.2.3 2022-09-13 10:26:51 +00:00
R. Ryantm
6c58515528 syncthingtray: 1.2.1 -> 1.2.2 2022-08-07 14:29:01 +00:00
R. Ryantm
9b3be9e3d1 syncthingtray: 1.1.20 -> 1.2.1 2022-07-31 02:54:42 +00:00
Doron Behar
803b9d6343 syncthingtray: 1.1.3 -> 1.1.20 2022-05-27 09:45:34 +03:00
R. RyanTM
09481d065e syncthingtray: 1.1.2 -> 1.1.3
Move cmake-extra-modules to `nativeBuildInputs`.
2021-03-13 20:30:42 +02:00
R. RyanTM
cefa98c622 syncthingtray: 1.1.0 -> 1.1.2 2021-02-06 20:52:27 +00:00
Doron Behar
f9c6e07c67 treewide: Remove usages of stdenv.lib by @doronbehar
Per: https://github.com/NixOS/nixpkgs/issues/108938
2021-01-23 10:52:19 +02:00
R. RyanTM
0b755ab9d6 syncthingtray: 1.0.1 -> 1.1.0 2020-12-05 01:44:07 +00:00
R. RyanTM
abeb10d2f7 syncthingtray: 1.0.0 -> 1.0.1 2020-11-12 06:39:12 +00:00
Doron Behar
a5ca6e8e84 syncthingtray: 0.11.0 -> 1.0.0 2020-10-26 12:10:40 +02:00