Commit Graph

20 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
1d22a0837b geckodriver: 0.34.0 -> 0.35.0 2024-08-06 15:02:41 +00:00
R. Ryantm
e4fd9e6a76 geckodriver: 0.33.0 -> 0.34.0 2024-01-03 21:20:34 +00:00
Robert Hensing
4c1d3cee60 treewide: Add meta.mainProgram
This should fix most warnings getExe in based on grepping `nixos/`.
2023-07-31 21:54:43 +02:00
R. Ryantm
9810382a6c geckodriver: 0.32.2 -> 0.33.0 2023-04-09 14:52:40 +00:00
R. Ryantm
5262f0fd99 geckodriver: 0.32.1 -> 0.32.2 2023-02-16 09:47:44 +00:00
R. Ryantm
d4dafcbb89 geckodriver: 0.32.0 -> 0.32.1 2023-02-06 16:16:57 +00:00
R. Ryantm
833155db7e geckodriver: 0.31.0 -> 0.32.0 2022-10-14 18:21:40 +00:00
Tom McLaughlin
17c3b5b2ee
geckodriver: update to 0.31.0 (#194839) 2022-10-07 04:17:32 +02:00
Joel
a2bcf4393d
geckodriver: 0.29.1 -> 0.30.0 2022-01-08 09:49:23 +10:00
Samir Talwar
42e029e48f
geckodriver: 0.26.0 -> 0.29.1 (#119164) 2021-04-13 16:05:07 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Benjamin Hipple
80a3dbcdd2 geckodriver: upgrade cargo fetcher and cargoSha256 2020-03-15 17:59:25 +01:00
Benjamin Hipple
eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00
arcnmx
19e37edc78 geckodriver: 0.22.0 -> 0.26.0 2020-01-16 21:33:35 +00:00
volth
7bb6b373ab treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
Alyssa Ross
062210bdff treewide: update cargoSha256 hashes for cargo-vendor upgrade
A recent upgrade of cargo-vendor changed its output slightly, which
broke all cargoSha256 hashes in nixpkgs.
See https://github.com/NixOS/nixpkgs/issues/60668 for more information.

Since then, a few hashes have been fixed in master by hand, but there
were a lot still to do, so I did all of the ones left over with some
scripts I wrote.

The one hash I wasn’t able to update was habitat's, because it’s
currently broken and the build doesn’t get far enough to produce a
hash anyway.
2019-06-01 15:17:52 +00:00
Raphael Borun Das Gupta
1edf950fa2 geckodriver: unstable-2018-02-24 -> 0.22.0
Motivation: unstable-2018-02-24 (which reports to be
0.19.1, but probably doesn't correspond to any actual
geckodriver release) isn't compatible with the currently
shipped Firefox version 63.0

closes NixOS/nixpkgs#50380
2018-12-10 16:22:11 +01:00
Maximilian Güntner
452f9ca8ef geckodriver: use devel version with slog fix
fixes #35301
2018-03-01 14:58:44 +01:00
Raymond Gauthier
b2d6c63810 geckodriver: init at 0.19.1 2017-11-02 23:24:43 -04:00