Commit Graph

31 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
Thibault Duplessis
b15edf445b stockfish: 16.1 -> 17 2024-09-08 11:13:09 +02:00
Thibault Duplessis
529157ef28 stockfish: 16 -> 16.1
Stockfish 16.1 now uses 2 NNUE files:
https://stockfishchess.org/blog/2024/stockfish-16-1/
2024-08-12 15:14:00 +02:00
Randy Eckenrode
d5f637590e
tree-wide: enable LTO on Darwin 2024-07-20 03:19:54 -04: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
Ian Macalinao
534375c4ba
stockfish: support aarch64-darwin 2024-02-23 11:43:14 +08:00
Anton Mosich
75bcc135aa stockfish: 15 -> 16
See https://stockfishchess.org/blog/2023/stockfish-16/
2023-07-02 13:32:08 +02:00
Zhaofeng Li
8075e7a172 stockfish: 14.1 -> 15 2022-05-24 14:24:27 -07:00
legendofmiracles
479899c085
stockfish: 14 -> 14.1; fix license 2021-11-11 10:42:33 -06:00
Peter Simons
476635afe1 Drop myself from meta.maintainers for most packages.
I'd like to reduce the number of Github notifications and
review requests I receive.
2021-10-14 11:01:27 +02:00
Ben Siraphob
8a275690bc stockfish: add siraben to maintainers 2021-07-04 11:25:37 +07:00
Ben Siraphob
4feb20b7b1 stockfish: 13 -> 14 2021-07-04 11:25:25 +07:00
Ryan Burns
68f8c1fc66 stockfish: 12 -> 13 2021-06-05 12:18:53 -07:00
Travis Whitton
202b3fe752 stockfish: aarch64 build support 2021-02-22 11:55:33 -05:00
Travis Whitton
d1b8249e55 stockfish: darwin build support 2021-02-12 16:54:26 -05: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
Tim Steinbach
6a42a1ce64
stockfish: 11 -> 12 2020-09-23 16:31:56 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Peter Simons
411f068871 stockfish: update from version 10 to 11 2020-01-20 10:25:52 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Peter Simons
ad212c5991 stockfish: update to version 10 2018-12-09 11:01:14 +01:00
Peter Simons
373541234a stockfish: update to version 9 2018-07-24 15:52:00 +02:00
Soham Chowdhury
8775b80503 stockfish: 7 -> 8 2017-11-23 10:12:14 +05:30
Tuomas Tynkkynen
fd97fa71dd darwin: Disable some more packages that have never built
streamripper: https://hydra.nixos.org/build/61726659
racket: https://hydra.nixos.org/build/61750850
radare: https://hydra.nixos.org/build/61756146
stockfish: https://hydra.nixos.org/build/61726172
2017-09-30 22:32:27 +03: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
Peter Simons
8e462995ba Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
Peter Simons
5569824729 stockfish: fix meta.maintainer 2016-05-08 15:21:26 +02:00
Peter Simons
d9e51222fe stockfish: fix install target 2016-05-08 15:16:11 +02:00
Peter Simons
cca3e9c774 stockfish: update version 6 to 7 2016-05-08 15:10:58 +02:00
Luis Pedro Coelho
8bec69e9c8 stockfish: init at 6 2015-12-30 23:19:39 +01:00