Commit Graph

73 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
R. Ryantm
f0d65c466b wesnoth: 1.18.1 -> 1.18.2 2024-07-06 19:36:41 +00:00
R. Ryantm
7b970f39cd wesnoth: 1.18.0 -> 1.18.1 2024-06-13 04:19:21 +00:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Evgeny Kurnevsky
a5be355ddc
wesnoth: 1.16.11 -> 1.18.0 2024-03-24 19:49:27 +03:00
Evgeny Kurnevsky
7a83442851
wesnoth: 1.16.9 -> 1.16.11 2024-02-24 15:27:13 +03:00
Sergei Trofimovich
25fed6c0ee wesnoth: backport gcc-13 fix
Without the change `wesnoth` fails to build against `gcc-13` as:

    $ nix build --impure --expr 'with import <nixpkgs> {}; wesnoth.override { stdenv = gcc13Stdenv; }' -L

    In file included from /build/source/src/serialization/base64.cpp:16:
    /build/source/src/serialization/base64.hpp:23:49: error: 'uint8_t' was not declared in this scope
       23 | using byte_string_view = std::basic_string_view<uint8_t>;
          |                                                 ^~~~~~~
    /build/source/src/serialization/base64.hpp:20:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
       19 | #include <vector>
      +++ |+#include <cstdint>
       20 |
2023-08-06 20:07:53 +01:00
R. Ryantm
6a528aaffa wesnoth: 1.16.8 -> 1.16.9 2023-04-29 07:14:21 +00:00
Weijia Wang
fac7355203 wesnoth: 1.16.7 -> 1.16.8 2023-02-06 12:27:56 +01:00
R. Ryantm
3efc69523f wesnoth: 1.16.6 -> 1.16.7 2023-01-18 07:17:34 +00:00
R. Ryantm
742243f041 wesnoth: 1.16.5 -> 1.16.6 2022-10-20 09:07:48 +08:00
R. Ryantm
7b77d1a62e wesnoth: 1.16.4 -> 1.16.5 2022-08-07 15:00:25 +00:00
R. Ryantm
8f3d89e2b2 wesnoth: 1.16.3 -> 1.16.4 2022-07-31 06:14:11 +00:00
Evgeny Kurnevsky
9e106c15a4 wesnoth: 1.16.1 -> 1.16.3 2022-06-30 20:43:56 +08:00
Evgeny Kurnevsky
8c2acce1d6
wesnoth: remove enableTools option as it was removed from wesnoth 2021-11-15 12:01:59 +03:00
Evgeny Kurnevsky
34d9bf7906
wesnoth: 1.16.0 -> 1.16.1 2021-11-11 11:49:33 +03:00
Evgeny Kurnevsky
a25d54aae3
wesnoth: 1.14.17 -> 1.16.0 2021-10-27 10:26:34 +03:00
Charlotte Van Petegem
96f02afbe5
wesnoth: fix license information
source: https://github.com/wesnoth/wesnoth/blob/master/copyright
2021-09-01 21:49:06 +02:00
Charlotte Van Petegem
bbf089dfb7
wesnoth: 1.4.16 -> 1.4.17 2021-09-01 21:44:21 +02:00
Christian Kampka
2ea305eeb0
wesnoth: 1.14.15 -> 1.14.16 2021-04-07 20:44:20 +02:00
Christian Kampka
39cf1f651b
wesnoth: 1.14.14 -> 1.14.15 2021-01-18 23:57:44 +01:00
Ben Siraphob
bd42003f87 pkgs/games: pkg-config -> pkgconfig (2) 2021-01-16 23:49:59 -08: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
Christian Kampka
0954caa348
wesnoth: 1.14.13 -> 1.14.14 2020-10-01 21:33:34 +02:00
Christian Kampka
ccb847f735
wesnoth: 1.14.12 -> 1.14.13 2020-06-22 23:33:34 +02:00
Christian Kampka
eb296c5010 wesnoth: 1.14.11 -> 1.14.12 2020-06-17 16:28:18 +02:00
R. RyanTM
557b443374 wesnoth: 1.14.10 -> 1.14.11 2020-03-04 19:01:49 +01:00
R. RyanTM
5a8a2e7085 wesnoth: 1.14.9 -> 1.14.10 2020-02-09 10:01:17 +01:00
R. RyanTM
3269a58a1b wesnoth: 1.14.7 -> 1.14.9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/wesnoth/versions
2019-10-11 12:04:04 +02: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
Chris Rendle-Short
73b26086d1 wesnoth: 1.14.6 -> 1.14.7 2019-04-17 15:44:19 +10:00
R. RyanTM
f3099279f0 wesnoth: 1.14.5 -> 1.14.6 (#58918)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/wesnoth/versions
2019-04-06 10:30:00 +00:00
R. RyanTM
be4db7a6a9 wesnoth: 1.14.4 -> 1.14.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/wesnoth/versions
2018-09-19 23:24:42 -07:00
R. RyanTM
46c84f3847 wesnoth: 1.14.3 -> 1.14.4 (#44671)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/wesnoth/versions.
2018-08-09 09:20:26 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
R. RyanTM
98eefba190 wesnoth: 1.14.2 -> 1.14.3 (#42195) 2018-06-19 23:24:05 +00:00
Matthew Bauer
9a4cb9003e wesnoth: supports darwin 2018-05-31 12:34:15 -04:00
R. RyanTM
1d2338957a wesnoth: 1.14.1 -> 1.14.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2/bin/wesnoth passed the binary check.
- /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2/bin/wesnothd passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 1 of 2 passed binary check by having the new version present in output.
- found 1.14.2 with grep in /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2
- directory tree listing: https://gist.github.com/b0e3a41a54024956b2d7971ee078d50e
- du listing: https://gist.github.com/b92ba34a8adb15bfdc22fe1082734759
2018-05-29 11:17:33 -07:00
R. RyanTM
14a9c7bc1d wesnoth: 1.14.0 -> 1.14.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- ran ‘/nix/store/rzsmm117p5z6094z5k1ndc1v9pzms2gn-wesnoth-1.14.1/bin/wesnoth -h’ got 0 exit code
- ran ‘/nix/store/rzsmm117p5z6094z5k1ndc1v9pzms2gn-wesnoth-1.14.1/bin/wesnoth --help’ got 0 exit code
- ran ‘/nix/store/rzsmm117p5z6094z5k1ndc1v9pzms2gn-wesnoth-1.14.1/bin/wesnothd -h’ got 0 exit code
- ran ‘/nix/store/rzsmm117p5z6094z5k1ndc1v9pzms2gn-wesnoth-1.14.1/bin/wesnothd --help’ got 0 exit code
- ran ‘/nix/store/rzsmm117p5z6094z5k1ndc1v9pzms2gn-wesnoth-1.14.1/bin/wesnothd -V’ and found version 1.14.1
- ran ‘/nix/store/rzsmm117p5z6094z5k1ndc1v9pzms2gn-wesnoth-1.14.1/bin/wesnothd --version’ and found version 1.14.1
- found 1.14.1 with grep in /nix/store/rzsmm117p5z6094z5k1ndc1v9pzms2gn-wesnoth-1.14.1
- directory tree listing: https://gist.github.com/8868591a076d925d789cd1cfb562344c
2018-05-11 09:31:02 +03:00
Nikolay Amiantov
d541169e1a wesnoth: unite with wesnoth-dev
There's no Wesnoth development version now.
2018-05-08 16:06:30 +03:00
R. RyanTM
99964ff493 wesnoth-dev: 1.13.13 -> 1.14.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- ran ‘/nix/store/kk2lcjayzj584gczvzmqbna8gc59g92j-wesnoth-1.14.0/bin/wesnoth -h’ got 0 exit code
- ran ‘/nix/store/kk2lcjayzj584gczvzmqbna8gc59g92j-wesnoth-1.14.0/bin/wesnoth --help’ got 0 exit code
- ran ‘/nix/store/kk2lcjayzj584gczvzmqbna8gc59g92j-wesnoth-1.14.0/bin/wesnothd -h’ got 0 exit code
- ran ‘/nix/store/kk2lcjayzj584gczvzmqbna8gc59g92j-wesnoth-1.14.0/bin/wesnothd --help’ got 0 exit code
- ran ‘/nix/store/kk2lcjayzj584gczvzmqbna8gc59g92j-wesnoth-1.14.0/bin/wesnothd -V’ and found version 1.14.0
- ran ‘/nix/store/kk2lcjayzj584gczvzmqbna8gc59g92j-wesnoth-1.14.0/bin/wesnothd --version’ and found version 1.14.0
- found 1.14.0 with grep in /nix/store/kk2lcjayzj584gczvzmqbna8gc59g92j-wesnoth-1.14.0
- directory tree listing: https://gist.github.com/faf1d8fe4a47781eb51e8a411a546099
2018-04-30 09:35:47 -07:00
Pascal Wittmann
2ad7d5140c
wesnoth-dev: 1.13.11 -> 1.13.13 2018-04-14 00:44:25 +02:00
Nikolay Amiantov
ff0cb800d7 wesnoth-dev: 1.13.8 -> 1.13.11 2018-02-25 22:24:09 +03:00
Matthew Bauer
58adb5df7d wesnoth: works on darwin 2017-11-12 22:25:35 -06: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
Robin Gloster
13f2f8673b
OVMF: fix build
$fd for the output was overwritten during the build
2017-05-29 12:21:17 +02:00
Nikolay Amiantov
edaac2c3ff wesnoth: disable input frameworks 2016-12-10 12:27:43 +03:00
Nikolay Amiantov
0070d0fc9b wesnoth-dev: 1.13.5 -> 1.13.6 2016-11-24 01:17:57 +03:00