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
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
R. Ryantm
66b3fa296d bzflag: 2.4.24 -> 2.4.26 2022-11-21 10:49:26 +00:00
Franz Pletz
c092a502df
treewide: remove myself as maintainer from some pkgs
Only packages I'm not able to maintain anymore as of today. Mostly
because I'm haven't been using them in a while.
2022-08-03 14:17:51 +02:00
R. Ryantm
00e8ecb90b bzflag: 2.4.22 -> 2.4.24 2022-03-12 05:40:34 +00:00
R. RyanTM
d536e68174 bzflag: 2.4.20 -> 2.4.22 2021-03-09 15:48:04 -08:00
Ben Siraphob
bd42003f87 pkgs/games: pkg-config -> pkgconfig (2) 2021-01-16 23:49:59 -08:00
R. RyanTM
1673ab2694 bzflag: 2.4.18 -> 2.4.20 2020-05-04 21:22:12 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Dmitry Kalinkin
98625b2bee
bzflag: enable on darwin (#52707) 2018-12-22 18:01:20 -05:00
R. RyanTM
d19b7e487c bzflag: 2.4.16 -> 2.4.18
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bzflag/versions
2018-11-10 11:10:18 -08:00
R. RyanTM
bd51db9bf2 bzflag: 2.4.14 -> 2.4.16
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bzflag/versions
2018-10-03 23:13:39 -07:00
R. RyanTM
b083a86d74 bzflag: 2.4.12 -> 2.4.14
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/bzflag/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 2.4.14 with grep in /nix/store/z93gp3xa0spbywriag5pg04k2yy8jy3z-bzflag-2.4.14
- directory tree listing: https://gist.github.com/b4b3a993ddc5d7c26bb2c23aad53029c
2018-05-07 06:34:51 -07:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Robin Gloster
843f37dc12
bzflag: 2.4.10 -> 2.4.12 2018-01-17 01:46:41 +01:00
Franz Pletz
99bd99db3d
bzflag: 2.4.8 -> 2.4.10 2017-06-20 03:45:41 +02:00
Franz Pletz
e0b04b4c37
bzflag: 2.4.2 -> 2.4.8 2017-02-28 16:00:56 +01:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Nixpkgs Monitor
efb58e101a bzflag: update from 2.0.16 to 2.4.2 2013-12-15 11:25:57 +02:00
Lluís Batlle i Rossell
6f30a10a2d Adding bzflag.
svn path=/nixpkgs/trunk/; revision=26549
2011-03-27 16:35:45 +00:00