Commit Graph

292 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
David McFarland
e7fb591c92 dotnet-sdk-setup-hook: configure nuget in sourceRoot
Instead of creating a nuget.config in NIX_BUILD_TOP, and depending on
inheritance from sourceRoot, we'll make the required changes directly in
the latter.  This fixes packages where sourceRoot is NIX_BUILD_TOP.
2024-09-17 01:12:12 -03:00
Weijia Wang
eef1b89070
steam-rom-manager: 2.5.17 -> 2.5.22 (#327864) 2024-09-10 00:24:16 +02:00
David McFarland
e6c700ed11 dotnetCorePackages.fetchNupkg: override avalonia.x11 to find native libs 2024-09-06 16:32:08 -03:00
David McFarland
9a0be2fd28 dotnetCorePackages.fetchNupkg: override skiasharp to find fontconfig 2024-09-06 16:05:19 -03:00
R. Ryantm
7164b8d0c2 ukmm: 0.13.0 -> 0.15.0 2024-08-30 06:14:47 +00:00
R. Ryantm
981a40b547 steam-rom-manager: 2.5.17 -> 2.5.22 2024-08-28 12:15:29 +00:00
Bruno Bigras
94c9be259d gamemode: 1.8.1 -> 1.8.2
Co-authored-by: Kira Bruneau <kira.bruneau@pm.me>
2024-08-20 22:39:06 -04:00
Kira Bruneau
f5801ee1be
Merge pull request #333109 from kira-bruneau/ukmm
ukmm: mark as broken on aarch64-linux
2024-08-13 11:24:05 -04:00
Kira Bruneau
fadba0028d ukmm: mark as broken on aarch64-linux 2024-08-07 18:22:50 -04:00
Kira Bruneau
a2afe6251e ukmm: 0.12.1 -> 0.13.0 2024-08-05 18:46:44 -04:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
github-actions[bot]
f316203fda
Merge staging-next into staging 2024-07-19 00:03:05 +00:00
R. Ryantm
d8382f19e9 er-patcher: 1.12-2 -> 1.12-3 2024-07-18 13:30:53 +00:00
github-actions[bot]
844ec2d5a1
Merge staging-next into staging 2024-07-18 12:01:55 +00:00
Sandro
f7617f4753
Merge pull request #326566 from SuperSandro2000/maven-nox 2024-07-18 11:14:06 +02:00
Artturin
a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
Guillaume Girol
a8e034347e
Merge pull request #325139 from kira-bruneau/ukmm
ukmm: 0.11.1 -> 0.12.1
2024-07-15 20:54:34 +02:00
Sandro Jäckel
59d5a65afb
slipstream: stop overwriting maven 2024-07-15 15:13:22 +02:00
Kira Bruneau
f88960c7b6 ukmm: fix running on x11
Also switches from using LD_LIBRARY_PATH to RUSTFLAGS to include
required runtime libraries.
2024-07-13 17:42:50 -04:00
Vladimír Čunát
4c09ae2416
Merge branch 'staging-next' into staging 2024-07-08 10:43:15 +02:00
Kira Bruneau
c0a7daff96 ukmm: 0.11.1 -> 0.12.1 2024-07-06 20:01:38 -04:00
Nick Cao
6d82ecc083
Merge pull request #324950 from r-ryantm/auto-update/steam-rom-manager
steam-rom-manager: 2.5.16 -> 2.5.17
2024-07-06 12:06:29 -04:00
R. Ryantm
f923fb6dfb steam-rom-manager: 2.5.16 -> 2.5.17 2024-07-06 03:30:28 +00:00
Martin Weinelt
e7b1ee45cf
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/tools/misc/watchlog/default.nix
2024-07-06 01:52:35 +02:00
github-actions[bot]
30cfd4445f
Merge master into staging-next 2024-07-05 00:02:21 +00:00
Weijia Wang
3fdbfbc36a slipstream: update mvnHash 2024-07-04 01:14:47 +02:00
aleksana
1862813d11 treewide: convert cargoSha256 to cargoHash
This is done with the following bash script:

```
#!/usr/bin/env bash
process_line() {
    local filename=${1%:}
    if [[ $4 =~ \"(.*)\"\; ]]; then
      local sha256="${BASH_REMATCH[1]}"
    fi
    [[ -z $sha256 ]] && return 0
    local hash=$(nix hash to-sri --type sha256 $sha256)
    echo "Processing: $filename"
    echo "  $sha256 => $hash"
    sed -i "s|cargoSha256 = \"$sha256\"|cargoHash = \"$hash\"|"
$filename
}

# split output by line
grep -r 'cargoSha256 = ' . | while IFS= read -r line; do
    # split them further by space
    read -r -a parts <<< "$line"
    process_line "${parts[@]}"
done

```
2024-07-03 21:54:10 +08:00
K900
665f1d6183 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-02 08:32:46 +03:00
Weijia Wang
969891df55
Merge pull request #321953 from r-ryantm/auto-update/steam-rom-manager
steam-rom-manager: 2.5.11 -> 2.5.16
2024-07-02 01:02:51 +02:00
github-actions[bot]
f018e44bd1
Merge master into staging-next 2024-06-29 12:01:32 +00:00
éclairevoyant
71e728d3b8
maintainers: remove ivar 2024-06-29 03:09:10 -04:00
R. Ryantm
ba728b883f steam-rom-manager: 2.5.11 -> 2.5.16 2024-06-29 00:41:16 +00:00
github-actions[bot]
2f3bfad6d2
Merge master into staging-next 2024-06-28 00:02:11 +00:00
R. Ryantm
03af74117e er-patcher: 1.12-1 -> 1.12-2 2024-06-27 05:27:54 +00:00
github-actions[bot]
c6707a9686
Merge staging-next into staging 2024-06-21 12:01:53 +00:00
R. Ryantm
36f009b432 er-patcher: 1.10.1-1 -> 1.12-1 2024-06-20 13:33:15 +00:00
Martin Weinelt
f822b2ba5c Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/langsmith/default.nix
- pkgs/development/python-modules/rich-pixels/default.nix
- pkgs/servers/teleport/generic.nix
2024-06-18 20:16:19 +02:00
Aleksana
603a256259
Merge pull request #320069 from MathiasSven/mcaselector-fix
mcaselector: move makeWrapper to preFixup
2024-06-18 23:17:42 +08:00
Aleksana
b6acd200ab
Merge pull request #318308 from IslandUsurper/fix-alttpr_opentracker
alttpr-opentracker: Fix build errors
2024-06-18 01:48:30 +08:00
R. Ryantm
2f32bc71c4 steam-rom-manager: 2.5.9 -> 2.5.11 2024-06-15 20:39:12 +00:00
Mathias Sven
e2d1f0aee6
mcaselector: move makeWrapper to preFixup
Allows gappsWrapperArgsHook to run to populate gappsWrapperArgs
2024-06-15 18:43:31 +01:00
github-actions[bot]
59ab667c16
Merge staging-next into staging 2024-06-15 12:01:42 +00:00
Peder Bergebakken Sundt
c339c066b8
Merge pull request #317634 from leo60228/pokefinder-4.2.0
pokefinder: 4.1.2 -> 4.2.0
2024-06-15 12:15:32 +02:00
github-actions[bot]
098fe8ee26
Merge staging-next into staging 2024-06-14 18:01:39 +00:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
R. Ryantm
6511d8b80d mcaselector: 2.4 -> 2.4.1 2024-06-14 02:33:01 +00:00
leo60228
5c2a69848d
pokefinder: 4.1.2 -> 4.2.0 2024-06-13 20:17:51 -04:00
Nikita Pedorich
604ff7b6e7
packwiz: unstable-2023-08-28 -> 0-unstable-2024-05-27
- Add updateScript
2024-06-11 23:07:26 +09:00
Weijia Wang
a406a4cba7
Merge pull request #318193 from r-ryantm/auto-update/steam-rom-manager
steam-rom-manager: 2.5.8 -> 2.5.9
2024-06-10 16:59:40 +02:00