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
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
Peter Hoeg
d4f34d235d quaternion: add support for qt6 2024-03-07 01:47:43 -08:00
R. Ryantm
51c9129bcf quaternion: 0.0.96-beta4 -> 0.0.96.1 2024-02-26 09:20:55 +01:00
Sandro Jäckel
20f15755dc
quaternion: update homepage 2023-10-06 21:28:21 +02:00
Weijia Wang
d306c6b66b quaternion: 0.0.96-beta1 -> 0.0.96-beta4 2023-08-08 23:47:46 +02:00
Peter Hoeg
8d447c5626 quaternion: 0.0.95.1 -> 0.0.95.81 2023-05-09 09:02:13 +08:00
Peter Hoeg
44883e70cc quaternion: 0.0.95 - 0.0.95.1 2021-10-31 13:03:21 +08:00
Peter Hoeg
dc72e18d5f quaternion: 0.0.9.5-beta2 -> 0.0.95 2021-09-28 10:32:53 +08:00
Felix Buehler
82cb33a0ae treewide: remove meta.version 2021-07-18 00:07:38 +02:00
Peter Hoeg
920a721ebd quaternion: 0.0.9.4e -> 0.0.9.5-beta2 2020-12-30 06:51:27 +08:00
Pavol Rusnak
2c931312ce treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
2020-11-01 23:02:24 -08:00
Daiderd Jordan
b7ddbd52bd
treewide: replace SRI hashes 2020-06-01 15:24:19 +02:00
Cole Mickens
3ceefd2086
quaternion: 0.0.9.4c -> 0.0.9.4e 2020-04-27 13:45:53 -07:00
volth
a88dc23280 quaternion: fix build with config.allowAliases=false 2020-03-31 23:43:34 +02:00
Maximilian Bosch
dd243644b4
quaternion*: fix build
https://hydra.nixos.org/build/109701246
2020-01-07 21:45:09 +01:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Peter Hoeg
5efdb54547 quaternion: use qt specific mkDerivation 2019-08-20 15:50:35 +08:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Peter Hoeg
907e3c8374 quaternion: 0.0.9.4 -> 0.0.9.4c
This is technically not needed as the changes only relate to appstream packaging
but as we are rebuilding it anyway due to libqmatrixclient changing, we might as
well.
2019-05-29 10:08:12 +08:00
Peter Hoeg
1f7813b462 quaternion: 0.0.9.4-rc3 -> 0.0.9.4 2019-04-29 20:52:43 +08:00
Peter Hoeg
3bf5c2a6e0 quaternion-git: init at 0.0.9.4-rc3 2019-04-24 12:40:00 +08:00
Andrew Childs
b0dc7bc6a3 quaternion: 0.0.9.2 -> 0.0.9.3 2018-12-13 17:38:14 -05:00
Andrew Childs
07eebd3629 quaternion: Darwin support, fix dependencies and installed outputs 2018-08-19 11:58:24 +09:00
Will Dietz
5a1310da7f quaternion: 0.0.9 -> 0.0.9.2 2018-07-12 12:33:13 -05:00
Peter Hoeg
dbcdcb63d8 quaternion: 0.0.5 -> 0.0.9 2018-04-30 17:25:02 +08:00
Peter Hoeg
f36304fcbc quaternion: 0.0.4 -> 0.0.5 2017-12-31 15:40:44 +08:00
Peter Hoeg
c2509a8d28 quaternion: fix hash 2017-11-30 09:22:57 +08:00
Peter Hoeg
388c732001 quaternion: git -> 0.0.4 2017-11-26 23:35:00 +08:00
Matthias Beyer
7067d30812 quaternion: 2017-06-29 -> 2017-10-07 2017-10-07 16:56:36 +02:00
Peter Hoeg
f482ea2ed2 quaternion: 2017-04-15 -> 2017-06-29 2017-07-12 23:50:23 +08:00
Thomas Tuegel
c816bbc8a8
qt5: remove makeQtWrapper 2017-06-18 08:44:42 -05:00
Peter Hoeg
12d44c093d quaternion: get rid of superfluous icon-theme.cache 2017-04-16 19:48:52 +08:00
Peter Hoeg
4ecafcf5b2 quaternion: init at 2017-04-15 2017-04-16 16:52:59 +08:00