Commit Graph

8 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
Artturin
79aa1b2182 maintainers: retire inactive MP2E
their last commit to nixpkgs was in `2019-02-21`
2024-04-29 02:30:00 +03:00
lassulus
ee1c8e6794
Merge pull request #271501 from souxd/init-zandronum-alpha
zandronum-alpha: init at 3.2-230709-1914
2024-04-13 15:45:21 +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
souxd
125fc57962 zandronum-alpha: init at 3.2-230709-1914
new file:   pkgs/games/doom-ports/zandronum/alpha/add_gitinfo.patch
	new file:   pkgs/games/doom-ports/zandronum/alpha/default.nix
	new file:   pkgs/games/doom-ports/zandronum/alpha/dont_update_gitinfo.patch
	new file:   pkgs/games/doom-ports/zandronum/alpha/zan_configure_impurity.patch
	modified:   pkgs/top-level/all-packages.nix
2023-12-01 14:59:56 -03:00
souxd
5647d108b3 zandronum: 3.0.1 -> 3.1.0
Changes to be committed:
	modified:   pkgs/games/doom-ports/zandronum/add_gitinfo.patch
	modified:   pkgs/games/doom-ports/zandronum/default.nix
	modified:   pkgs/games/doom-ports/zandronum/dont_update_gitinfo.patch
	modified:   pkgs/games/doom-ports/zandronum/sqlite.nix
	modified:   pkgs/games/doom-ports/zandronum/zan_configure_impurity.patch
2023-12-01 14:45:09 -03:00
Anderson Torres
e709a4888d zandronum: move to games/doom-ports 2023-05-02 22:35:27 -03:00