Commit Graph

34 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
Silvan Mosberger
ea5dfeab93 treewide: Drop infinisil as maintainer from most packages
I'm not going anywhere, I'm focusing my energy on other issues, and
getting pinged as a maintainer for packages is a bit distracting (also
I'm not using most of these packages anyways!)
2024-04-09 21:43:39 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Carl Hjerpe
62b78e643c browserpass: Copy FF manifest to common location
This allows is to link-farm native-messaging hosts easier elsewhere.
(home-manager farms "${pkg}/lib/mozilla/native-messaging-hosts" into
~/.mozilla/native-messaging-hosts)
2024-01-27 18:30:09 +01:00
Kirill Radzikhovskyy
61c9837425 browserpass: add testVersion 2023-06-09 09:01:39 +10:00
Kirill Radzikhovskyy
282edfca5b browserpass: autopatchelf only on linux 2023-06-09 08:15:06 +10:00
Kirill Radzikhovskyy
33c50b885b browserpass: fix dynamic loader 2023-06-06 21:32:20 +10:00
Colin
be1280ceea browserpass: support cross compilation by only conditionally running tests
tests were previously run during the buildPhase via the default `make`
target: this patch moves that testing into the check phase and sets
`doCheck` appropriately.

Co-authored by: Nick Cao <nickcao@nichi.co>
2023-04-06 10:34:48 +00:00
R. Ryantm
3e79b30f64 browserpass: 3.0.10 -> 3.1.0 2023-03-07 07:20:01 +00:00
Loric Brevet
6f77ffd7f2
browserpass: 3.0.6 -> 3.0.10 2022-04-25 11:22:05 +02:00
zowoq
42313b92bc buildGoModule: remove platform.all from packages 2020-08-15 19:34:47 -07:00
zowoq
cea7cd902e buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
zowoq
3c5750d1cd buildGoModule packages: editorconfig fixes 2020-07-31 13:58:04 +10:00
Colin L Rice
d6162dab50
go-modules: Update files to use vendorSha256 2020-05-14 07:22:21 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Silvan Mosberger
da4f6a2a09 browserpass: Remove v2 and switch to buildGoModule (#60282) 2019-04-28 11:05:24 -07:00
John Wiegley
1dc70f969b
browserpass: 3.0.1 -> 3.0.6 2019-04-14 12:16:17 -07:00
Silvan Mosberger
6104fba188
browserpass: 2.0.22 -> 3.0.1
See https://github.com/browserpass/browserpass-native/issues/31

This is fully backwards compatible.
2019-04-01 01:24:28 +02:00
Franz Pletz
5ea22c49f1
browserpass: 2.0.18 -> 2.0.22 2018-11-24 01:35:47 +01:00
Elis Hirwing
be660b8f51
browserpass: fix gnupg dependency issue 2018-04-16 16:49:01 +02:00
Eric Bailey
c6ae547c9c
browserpass: 2.0.17 -> 2.0.18 2018-03-31 00:19:26 -05:00
Franz Pletz
8df9cf585a
browserpass: 2.0.13 -> 2.0.17 2018-03-24 17:09:49 +01:00
Tad Fisher
82f2c19d98 browserpass: 2.0.11 -> 2.0.13 2018-03-19 12:01:08 -07:00
Ryan Mulligan
cb64bf656f browserpass: 2.0.10 -> 2.0.11
Semi-automatic update. These checks were performed:

- built on NixOS
- found 2.0.11 with grep in /nix/store/9kvlg1r91rvdqmvjlva1jwk2znsbj5l3-browserpass-2.0.11-bin
- found 2.0.11 in filename of file in /nix/store/9kvlg1r91rvdqmvjlva1jwk2znsbj5l3-browserpass-2.0.11-bin
2018-02-25 11:07:34 -08:00
Peter Hoeg
546fa2e118 browserpass: 2.0.7 -> 2.0.10 2018-01-07 11:32:29 +08:00
Franz Pletz
91de9958c0
browserpass: 1.0.6 -> 2.0.7 2017-11-05 14:55:51 +01:00
Roman Volosatovs
83370e5b4c
browserpass: 1.0.5 -> 1.0.6 2017-08-19 21:37:16 +02:00
Robin Stumm
4540eaf578 browserpass: 2017-04-11 -> 1.0.5 2017-06-30 13:32:45 +02:00
Michael Raskin
1a380c094f Remove empty longDescription 2017-05-01 11:27:03 +02:00
pajowu
b4caf7a11e browserpass: add support for firefox 2017-04-22 15:13:02 +02:00
pajowu
11913f2ce1 browserpass: change naming scheme 2017-04-11 17:32:33 +02:00
pajowu
b70077f551 browserpass: switch build source to git HEAD
Precompiled version only supports linux64, git version should also support darwin
2017-04-10 23:45:41 +02:00
pajowu
857a3b872c browserpass: init at 1.0.2 2017-04-10 20:06:53 +02:00