Commit Graph

303 Commits

Author SHA1 Message Date
Victor Engmark
59ed3fa2c4
scarab: Apply scaling factor in Wayland
Sets `AVALONIA_GLOBAL_SCALE_FACTOR` to the GNOME desktop scaling factor
based on
<https://github.com/AvaloniaUI/Avalonia/issues/9390#issuecomment-2382126451>,
falling back to the X FreeType DPI setting if the former is not
available.

Does not include `gsettings` and `xrdb` in build inputs, since these
should be available on the relevant platforms.

Bash does not support decimal/floating point arithmetic, so this *does*
include `bc` in the runtime dependencies.
2024-11-10 14:56:44 +13:00
Victor Engmark
b49da1f764
scarab: Remove unused inputs 2024-11-10 13:56:47 +13:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Weijia Wang
40a5bbd434
optifine: 1.20.4_HD_U_I7 -> 1.21.1_HD_U_J1 (#344633) 2024-11-02 18:29:23 +01:00
R. Ryantm
cb6e241bb8 mcaselector: 2.4.1 -> 2.4.2 2024-10-24 04:12:28 +00:00
Atemu
1dc34aa94a steamtinkerlaunch: add steamcompattool output
This makes it possible to integrate this into our steam derivation's
extraCompatPackages
2024-10-07 00:01:46 +02:00
Atemu
309fcf6eeb steamtinkerlaunch: don't wrap in order to preserve $0
Fixes https://github.com/NixOS/nixpkgs/issues/295902
2024-10-06 23:37:42 +02:00
huantian
2edfaf4d64
scarab: fix crash (#345038), don't bundle tests
By using testProjectFile, we can properly build the test and run it in
checkPhase, as well as not include the test in the derivation output.

This also happens to fix the startup crash as described in #345038.
2024-10-02 21:56:44 -07:00
huantian
718581f55b
scarab: format with nixfmt 2024-10-02 21:55:31 -07:00
R. Ryantm
3548716263 optifine: 1.20.4_HD_U_I7 -> 1.21.1_HD_U_J1 2024-09-26 12:02:03 +00: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
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