Commit Graph

6 Commits

Author SHA1 Message Date
R. Ryantm
d9a5b90070 tor-browser: 13.5.4 -> 13.5.5 2024-09-28 11:07:49 +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
Felix Schröter
9366f2b44a
tor-browser: 13.5.3 -> 13.5.4
https://blog.torproject.org/new-release-tor-browser-1354/
2024-09-18 17:53:25 +02:00
Felix Schröter
8716383e94
tor-browser: 13.5.2 -> 13.5.3
https://blog.torproject.org/new-release-tor-browser-1353/
2024-09-04 19:11:33 +02:00
Felix Schröter
9a34f063c4
tor-browser: 13.5.1 -> 13.5.2
https://blog.torproject.org/new-release-tor-browser-1352/
2024-08-06 23:23:42 +02:00
Felix Schröter
ff1dc27711 {tor,mullvad}-browser: migrate to pkgs/by-name 2024-07-12 10:20:37 +02:00