Commit Graph

38 Commits

Author SHA1 Message Date
Pyrox
f17acca9eb irrlicht: 1.8.4 -> 1.8.5 2026-06-01 11:14:48 -07:00
quantenzitrone
e5ff6c385d various: rename references from libXxf86vm to libxxf86vm
this shouldn't create any rebuilds
2026-02-06 00:29:28 +01:00
quantenzitrone
43cdce2c39 various: rename references from libXrandr to libxrandr
this shouldn't create any rebuilds
2026-02-06 00:29:06 +01:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
Rafael Ieda
80f024cbd7 treewide: mark as broken on darwin (last successful Hydra build in 2023) 2025-11-05 08:55:48 -03:00
Emily
c9f171a0bb cmake: drop fixCmakeFiles hook
This regularly broke things – as can be seen from the number
of packages that were opting out of it – while providing only a
dubious and partial benefit to purity that other build systems did
not “enjoy”.

It has become associated with Darwin, but was actually introduced
in 2007 as part of 67d41efde1,
a work‐in‐progress commit for KDE 4 that introduced the CMake
setup hook. It has haunted us ever since, and will presumably become
even better at doing so now that it is a dead ghost.

Of course, it is possible and even likely that more impure paths will
leak into Darwin builds from third‐party CMake modules included
in packages. However, considering it already disregarded many of the
most common macOS system paths, it will be better overall to address
these in a targeted manner than dealing with the effects of this
brute‐force hook. In the long run, a good sandbox is going to be
the solution for reliable build reproducibility on the platform.
2025-09-19 18:34:06 +01:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Sigmanificient
91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
Silvan Mosberger
84d4f874c2 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
Wolfgang Walther
31706d4a55 treewide: fix sed -ie and friends
GNU sed's man page has this to say about "-i":

  Because -i takes an optional argument, it should not be followed by
  other short options:
  [..]
  sed -iE '...' FILE
    This is equivalent to --in-place=E, creating FILEE as backup of FILE

This means all "-iX" did not have the intended effect X, so we can
instead remove them.
2024-11-17 18:24:54 +01: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
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
Anthony Roussel
e30f48be94 treewide: fix redirected and broken URLs
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
AlexKnauth
064e5d1085 irrlicht: mac_device patch nil -> 0 2021-12-22 17:33:38 -05:00
Astro
65d87f1490 irrlicht: use makeFlagsArray, enableParallelBuilding 2021-10-11 01:35:49 +02:00
Astro
aec477db26 irrlicht: fix on aarch64 2021-10-11 01:35:44 +02:00
Ben Siraphob
c5a669d3f7 treewide: remove unzip where not needed 2021-05-16 19:29:28 -07:00
Ben Siraphob
127733211e treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Ben Siraphob
2f78ee7e81 pkgs/development: stdenv.lib -> lib 2021-01-24 00:16:29 +07:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
zowoq
35b89f31e3 irrlicht: use spaces for indentation 2021-01-20 10:53:10 +10:00
Maximilian Bosch
5a3dd6b2d0 irrlicht: fix build w/glibc-2.32 2020-09-12 23:04:48 +02:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Roman Plášil
3a3ccb106e Address PR comments 2020-02-28 18:50:12 +01:00
Roman Plášil
fb285f2153 minetest: update to 5.1.0 and build on Darwin 2020-02-28 18:50:12 +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
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Daniel Fullmer
4bf9622749 irrlicht: 1.8-svn-5104 -> 1.8.4 2017-08-29 15:25:40 -04:00
Daniel Fullmer
1c44981d19 irrlicht3843: Removed unused derivation
supertuxcart includes its own version of irrlicht so this is no longer
needed.
2017-08-29 15:04:46 -04:00
Linus Heckemann
c14bf4f2b1 irrlicht: link to X11 libs explicitly
This allows applications that require irrlicht to depend on the X
libraries implicitly rather than explicitly.
2017-05-29 18:31:08 +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
C0DEHERO
d90dd6d17b irrlicht: update rev 3843 (1.8) -> rev 5104 (1.8); fixed awkward naming; use svn release branch 2015-05-16 22:48:43 -04:00
Richard Zetterberg
46178f057e Fixes irrlicht and minetest to work with mesa > 10 2015-04-03 20:45:50 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Lluís Batlle i Rossell
e7c6623372 I think this may make irrlicht build, and thus, supertuxkart.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32605
2012-02-26 21:32:29 +00:00
Lluís Batlle i Rossell
3b02e6f70d Updating super tux kart to 0.7.3. I also add the library irrlicht, the specific
version needed for super tux kart.


svn path=/nixpkgs/trunk/; revision=32399
2012-02-19 13:15:50 +00:00