Commit Graph

23 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
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
R. Ryantm
37245e94f3 lobster: 2023.13 -> 2024.0 2024-05-25 02:46:05 +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
Francesco Gazzetta
462e2129e2 lobster: use finalAttrs pattern 2024-03-05 09:50:13 +01:00
R. Ryantm
329f4f7bd9 lobster: 2023.12 -> 2023.13 2023-10-11 01:13:37 +00:00
R. Ryantm
3a40e8ebac lobster: 2023.11 -> 2023.12 2023-10-05 11:59:12 +00:00
Francesco Gazzetta
259aceecef lobster: 2023.9 -> 2023.11
Diff: https://github.com/aardappel/lobster/compare/v2023.9...v2023.11
2023-08-13 18:37:49 +02:00
Francesco Gazzetta
2d2c35a023 lobster: 2023.6 -> 2023.9
Diff: https://github.com/aardappel/lobster/compare/v2023.6...v2023.9
2023-06-19 12:04:13 +02:00
R. Ryantm
66d193a467 lobster: 2023.5 -> 2023.6 2023-05-13 07:09:40 +00:00
R. Ryantm
286e0ac8df lobster: 2023.4 -> 2023.5 2023-05-04 16:29:27 +00:00
Connor Baker
b2eb5c816f apple_sdk: remove cf-private alias 2023-05-01 21:59:03 -04:00
Francesco Gazzetta
00ebde2597 lobster: 2021.3 -> 2023.4 2023-04-20 14:25:10 +02:00
Rick van Schijndel
0b45cae8a3
treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
Francesco Gazzetta
023ba76689 lobster: unstable-2021-06-18 -> 2021.3
and some minor refactors and metadata fixes
2021-10-20 16:12:13 +02:00
Francesco Gazzetta
1deeae4179 lobster: unstable-2020-12-25 -> unstable-2021-06-18 2021-06-21 15:32:51 +02:00
Francesco Gazzetta
992ce81d94 lobster: unstable-2020-10-04 -> unstable-2020-12-25 2021-02-09 22:21:24 +01:00
Francesco Gazzetta
8a1e4e72a7 lobster: fix unstableGitUpdater call
unstableGitUpdater can't get the url from fetchFromGitHub
2021-02-09 22:20:08 +01:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Francesco Gazzetta
0c6492b9e4 lobster: use unstableGitUpdater 2020-12-02 17:23:05 +01:00
Francesco Gazzetta
3cccf90881 lobster: unstable-2020-07-27 -> unstable-2020-10-04 2020-10-08 09:56:31 +02:00
Francesco Gazzetta
d42700700d lobster: init at unstable-2020-07-27 2020-07-29 14:48:21 +02:00