Commit Graph

18 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
goatastronaut0212
5ab41fbc81 unciv: 4.13.0-patch1 -> 4.13.2-redo 2024-08-27 08:07:24 +07:00
mesflit
9e9bae2d0d unciv: 4.11.17 -> 4.13.0-patch1 2024-08-18 13:21:04 +02:00
Weijia Wang
941f3140ac
Merge pull request #318312 from r-ryantm/auto-update/unciv
unciv: 4.11.16 -> 4.11.17
2024-06-28 01:06:19 +02:00
h7x4
53961c0aa6
unciv: install icon for desktop item 2024-06-12 23:32:04 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
a5b14dd063 unciv: 4.11.16 -> 4.11.17 2024-06-08 16:18:11 +00:00
R. Ryantm
54a9521d32 unciv: 4.11.13 -> 4.11.16 2024-06-01 08:29:19 +00:00
R. Ryantm
a78af08f5e unciv: 4.11.12 -> 4.11.13 2024-05-20 19:26:36 +00:00
R. Ryantm
ed4060bbb8 unciv: 4.11.10 -> 4.11.12 2024-05-15 17:49:03 +00:00
R. Ryantm
a9dca1409d unciv: 4.11.9 -> 4.11.10 2024-05-08 16:15:12 +00:00
R. Ryantm
9a9a80c0b9 unciv: 4.11.8 -> 4.11.9 2024-04-30 22:41:23 +00:00
R. Ryantm
795a2dca88 unciv: 4.11.4 -> 4.11.8 2024-04-25 18:02:02 +00:00
R. Ryantm
fe77b88406 unciv: 4.11.2 -> 4.11.4 2024-04-13 18:35:05 +00:00
R. Ryantm
380aba5d92 unciv: 4.10.21 -> 4.11.2 2024-04-08 14:11:14 +00:00
R. Ryantm
60b53db261 unciv: 4.10.19 -> 4.10.21 2024-03-20 20:12:37 +00: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
Weijia Wang
60452dc871 unciv: move to pkgs/by-name 2024-03-17 01:32:23 +01:00