Commit Graph

22 Commits

Author SHA1 Message Date
R. Ryantm
b3bd45d026 yquake2: 8.40 -> 8.41 2024-10-16 20:46:58 +00:00
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
R. Ryantm
c484d3b36a yquake2: 8.30 -> 8.40 2024-07-27 12:20:54 +00:00
Jussi Kuokkanen
e1f68ae7cc pkgs/games: remove licenses.gpl2 2024-07-03 12:46:48 +03:00
Felix Buehler
b390d53ee8 yquake2: add desktop item 2024-03-25 22:36:20 +01:00
R. Ryantm
8fe0026101 yquake2: 8.20 -> 8.30 2023-11-07 12:58:57 +00:00
R. Ryantm
041910e685 yquake2: 8.10 -> 8.20 2022-12-22 16:03:15 +00:00
R. Ryantm
bc569904fe yquake2: 8.01 -> 8.10 2022-08-02 07:21:45 +00:00
Astro
d0b90bd181 yquake2: migrate from cmake to gnumake
See: fb1a2b0ce7
2022-01-28 20:37:58 +01:00
Astro
8aeb279701 yquake2: 8.00 -> 8.01 2022-01-28 20:37:58 +01:00
Astro
0da88ff0a0 yquake2: 7.43 -> 8.00 2021-10-20 00:31:51 +02:00
Felix Buehler
ce3b463c79 games: /s/name/pname&version/ 2021-06-25 01:28:10 +02:00
Ben Siraphob
2e34288f0d pkgs/games: stdenv.lib -> lib 2021-01-15 13:36:04 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
foxit64
7864354ac0 yquake2: 7.30 -> 7.43 2020-06-02 13:41:53 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +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
Matthew Bauer
d3fa660288 yquake: fix on darwin 2019-04-26 21:55:06 -04:00
R. RyanTM
7598fd57d3 yquake2: 7.20 -> 7.30
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/yquake2/versions
2018-12-08 15:12:59 -08:00
Matthew Bauer
73b11060fc treewide: add more versions to package names 2018-05-25 15:48:30 -05:00
Tad Fisher
29b1894598 yquake2: init at 7.20 2018-04-12 11:49:11 -07:00