Commit Graph

19 Commits

Author SHA1 Message Date
Tomo
989f10b02d synology-drive-client: use stdenv.mkDerivation
Part of #180841
2024-10-15 08:06:42 +00:00
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
79ded63339 synology-drive-client: 3.5.0-16084 -> 3.5.1-16101 2024-09-09 21:55:29 +02:00
Philip Taron
ecc748b3d1
synology-drive-client: remove with statements 2024-08-18 06:31:13 -07:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Aleksana
d2bc1006a6
synology-drive-client: add aarch64-darwin support 2024-04-20 21:32:41 +08:00
R. Ryantm
a72a6ca435 synology-drive-client: 3.4.0-15724 -> 3.5.0-16084 2024-04-18 21:01:20 +02:00
Tom Herbers
e908a93cfa
synology-drive-client: 3.3.0 -> 3.4.0 2024-03-29 18:29:14 +01:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Moritz Böhme
5526aca9e5
synology-drive-client: 3.2.1 -> 3.3.0 2023-06-29 15:44:34 +02:00
Moritz Böhme
6dc06cb282
synology-drive-client: 3.2.0 -> 3.2.1 2023-02-11 17:38:08 +01:00
Moritz Böhme
727e715e1c
synology-drive-client: 3.1.0-12923 -> 3.2.0-13258 2022-12-19 15:19:28 +01:00
Sandro
dddd0bdfde
Merge pull request #184214 from MoritzBoehme/synology-drive-client 2022-08-02 15:28:15 +02:00
Moritz Böhme
4a52315a51
synology-drive-client: multiple changes 2022-07-31 15:10:59 +02:00
Robert Scott
466c2e342a treewide/applications: add sourceType binaryNativeCode for many packages 2022-06-23 18:38:19 +01:00
Moritz Böhme
ff69527c3c
synology-drive-client: 3.0.2 -> 3.1.0 2022-04-13 12:30:27 +02:00
Jichao Ouyang
92484333d1
synology-drive-client: inherit meta in both drv 2021-11-26 21:32:16 +11:00
Jichao Ouyang
d29ec8753d
synology-drive-client: merge with "synology-drive" 2021-11-23 18:42:25 +11:00
Jichao Ouyang
7cb6bb064a
synology-drive-client: init at 3.0.2 (#144706) 2021-11-19 17:16:58 +01:00