Commit Graph

26 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
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
Guillaume Desforges
4a1a582458 dive: patch fix scrolling 2024-05-15 12:54:15 +02:00
Marcus Ramberg
eddd6116d7 dive: add patch to fix scrolling 2024-05-02 14:38:32 +02:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +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
Mario Rodas
f665203463 dive: 0.11.0 -> 0.12.0
Diff: https://github.com/wagoodman/dive/compare/v0.11.0...v0.12.0

Changelog: https://github.com/wagoodman/dive/releases/tag/v0.12.0
2024-02-02 04:20:00 +00:00
Sandro Jäckel
4284224643
dive: 0.10.0 -> 0.11.0 2023-07-07 23:33:59 +02:00
Sandro Jäckel
1131c38b3b
dive: fix build on aarch64-darwin 2022-07-21 17:19:58 +02:00
superherointj
b377b29d9e dive: enable tests 2022-05-04 13:33:56 -03:00
zowoq
13ea123c74 treewide: buildFlagsArray -> ldflags 2021-08-26 21:35:06 +10:00
Sandro Jäckel
9d8ba5ecee
dive: 0.9.2 -> 0.10.0 2021-03-08 21:52:19 +01:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +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
Jörg Thalheim
066db11215
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504, reversing
changes made to afd997aab6.

Instead we propagate those frameworks from the compiler again
2020-03-27 07:33:21 +00:00
Mario Rodas
a3a9f0387d dive: fix build on darwin 2020-03-21 04:32:00 -05:00
Mario Rodas
a1857a0dab
dive: 0.9.1 -> 0.9.2
Changelog: https://github.com/wagoodman/dive/releases/tag/v0.9.2
2020-02-09 16:20:00 -05:00
zowoq
bbc144aa21 dive: 0.9.0 -> 0.9.1 2020-01-19 09:14:17 +10:00
Mario Rodas
2560d180e8
dive: 0.8.0 -> 0.9.0
Changelog: https://github.com/wagoodman/dive/releases/tag/v0.9.0
2019-11-05 18:00:00 -05:00
Mario Rodas
9bd820c542
dive: 0.7.2 -> 0.8.0 2019-09-02 20:46:48 -05:00
Mario Rodas
840505ac12
dive: 0.6.0 -> 0.7.2 2019-05-24 21:00:00 -05:00
Katharina Fey
2f52a435f9
dive: 0.5.0 -> 0.6.0 2019-02-21 14:37:49 +01:00
Mario Rodas
65128f7211
dive: init at 0.5.0 2018-12-21 08:15:17 -05:00