Commit Graph

27 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
Philip Taron
81d3babe25 Avoid top-level with ...; in pkgs/games/arx-libertatis/default.nix 2024-03-31 00:42:56 +01:00
rnhmjoj
ab73a8f0fb
arx-libertatis: 2020-10-20 -> 1.2.1 2023-06-09 00:46:25 +02:00
Kerstin Humm
bb799694db
epoxy: rename to libepoxy
https://github.com/NixOS/nixpkgs/issues/145040
2021-11-11 05:55:32 +01:00
Ben Siraphob
2e34288f0d pkgs/games: stdenv.lib -> lib 2021-01-15 13:36:04 +07:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
rnhmjoj
883006d6bf
arx-libertatis: 2019-07-22 -> 2020-10-20 2020-10-25 02:38:37 +02:00
Jan Tojnar
35deaa45a1
inkscape_0: drop
Inkscape 1.0.1 re-added the old CLI flags:
3ca6a4ed08
2020-09-10 20:46:55 +02:00
Pavol Rusnak
8402a74cce
treewide: replace inkscape with inkscape_0
The Inkscape CLI interface has been changed with 1.x and packages
are not adjusted yet to this change. Let's use inkscape 0.x instead.
2020-07-19 13:10:16 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
c0bw3b
9367367dfd Treewide: fix URL permanent redirects
Permanent redirects on homepages and/or source URLs
as reported by Repology
2019-11-16 01:41:23 +01:00
worldofpeace
ed48341148
Merge pull request #67806 from rnhmjoj/arx
arx-libertatis: 2019-02-16 -> 2019-07-22
2019-10-19 23:25:54 +00:00
rnhmjoj
4af7f6321e
arx-libertatis: 2019-02-16 -> 2019-07-22 2019-10-19 10:41:36 +02:00
rnhmjoj
152402b528
arx-libertatis: use wrapQtAppsHook 2019-10-19 10:41:35 +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
rnhmjoj
d10f3e985a
arx-libertatis: 2018-08-26 -> 2019-02-16 2019-03-05 01:05:43 +01:00
Michele Guerini Rocco
5cb824f4c4 arx-libertatis: 2017-10-30 -> 2018-08-26 (#46039) 2018-09-10 22:08:48 +02:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
rnhmjoj
35539c641e
arx-libertatis: 2017-02-26 -> 2017-10-30 2017-11-05 19:28:20 +01:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
rnhmjoj
d35ff57b4e arx-libertatis: 2016-07-27 -> 2017-02-26 2017-03-01 02:24:38 +03:00
Kranium Gikos Mendoza
8d8208c771 arx-libertatis: fix build 2016-08-22 16:41:30 +08:00
rnhmjoj
428c2eff87
arx-libertatis: 2016-02-02 -> 2016-07-27 2016-07-27 04:29:10 +02:00
Nikolay Amiantov
e50debdee7 arx-libertatis: fix meta.platforms 2016-07-10 15:15:08 +03:00
Nikolay Amiantov
20af4b8287 arx-libertatis: use our DevaVu fonts, set proper data directory, enable parallel building 2016-02-05 02:07:33 +03:00
rnhmjoj
621a9ac46c arx-libertatis: init at version 2016-02-02 2016-02-04 20:36:02 +01:00