Commit Graph

28 Commits

Author SHA1 Message Date
zinzilulo
90df60eb3f root: fix Darwin build 2026-05-29 12:03:24 +01:00
Jonas Rembser
6b5306ce4b root: 6.38.02 -> 6.40.00
Also, don't set the `PYTHONPATH` for some command line utilities,
because they have been rewritten in C++.
2026-05-20 09:07:57 +02:00
quantenzitrone
d077a4dc0a xxhash: rename from xxHash
rename to lowercase to fit package naming conventions
2026-03-06 20:15:57 +01:00
Jonas Rembser
61878d569e root: 6.38.00 -> 6.38.02
ROOT 6.38.02 contains many changes and bugfixes, so it's worth to
upgrade:

https://root.cern/doc/v638/release-notes.html#release-6.38.02
2026-02-25 10:57:21 +01:00
quantenzitrone
7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
Gaël James
0e74d2b64c tree-wide: fetchgit, fetchFromGitHub, fetchFromGitLab, fetchFromGitea, fetchFromBitbucket, fetchFromSourcehut: use tag = instead of rev = refs/tags/... 2026-01-15 18:27:42 +01:00
Ihar Hrachyshka
a269d900c4 treewide: remove remaining meta = with lib; 2025-12-14 15:16:00 -05:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Jonas Rembser
b6ace79de1 root: 6.36.04 -> 6.38.00
Also, don't install the `thisroot` scripts, which are meant for using
relocatable ROOT builds that are not installed with a package manager.

The hotfix introduced in NixOS#292446 to work around
root-project/root#14778 can also be removed, since the problem was fixed
upstream with root-project/root#19923
2025-11-29 13:33:28 -05:00
Dmitry Kalinkin
f3fd821e8d root: allow overriding clang and clad_src via finalAttrs (#459533) 2025-11-07 18:55:02 +00:00
Dmitry Kalinkin
2db5d487f1 root: allow overriding clang and clad_src via finalAttrs 2025-11-07 13:49:25 -05:00
Jonas Rembser
2d6a109cef root: make rootcint and genreflex available again
The mechanism to install these binaries as hard links to `rootcling`
was quite fragile. This commit suggests to just build them as separate
CMake targets instead.

This fixes the compilation of `applgrid, `apfelgrid`, and `xfitter`
reported in https://github.com/NixOS/nixpkgs/pull/424032#discussion_r2305727437
2025-10-21 22:30:20 +02:00
Emily
42bd6a126f treewide: tbb_2022 -> onetbb 2025-09-15 17:29:35 +01:00
Jonas Rembser
97916ecd8e root: 6.36.04 -> 6.36.06 (#436912)
Also, update the used tbb from `tbb` (2020) to `tbb_2022`.
2025-08-28 00:43:40 -04:00
Jonas Rembser
b16813baa8 root: 6.36.00 -> 6.36.02 (#424032)
* Update to the newest ROOT patch release.

  * Disable `tmva-pymva`, since it doesn't work with recent TensorFlow
    versions anyway

  * Don't set `gnuinstall=ON` for the ROOT build, because we were
    overriding the install paths anyway to what they were with
    `gnuinstall=OFF`
2025-08-03 00:52:10 -04:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Jonas Rembser
8d782353b0 root: 6.34.08 -> 6.36.00 (#390706) 2025-05-26 22:56:05 -04:00
Dmitry Kalinkin
2623c26000 root: 6.34.06 -> 6.34.08 (#398477) 2025-04-14 15:05:56 -04:00
patka
1a9c4dadfc root: uprgade pcre to pcre2 2025-04-13 16:41:13 +02:00
Jonas Rembser
ead53ee8f0 root: 6.34.04 -> 6.34.06 (#393976)
Some patches could be avoided thanks to the following upstream patches:

  * https://github.com/root-project/root/pull/18086
  * https://github.com/root-project/root/pull/18050
2025-03-29 23:43:35 -04:00
Jonas Rembser
c84ff169cc root: 6.34.02 -> 6.34.04
Also enables one more feature of ROOT (support of convolutions via
fftw). Furthermore removes a patch related to building Clad from source
that is not needed anymore thanks to
https://github.com/root-project/root/pull/17308.
2025-02-14 23:14:01 +01:00
Emily
205c1696b8 treewide: remove obsolete aligned allocation workarounds 2025-01-04 21:20:40 +00:00
Dmitry Kalinkin
2e4403bd46 root: 6.34.00 -> 6.34.02 2024-12-18 22:09:24 -05:00
Dmitry Kalinkin
3b307f77be root: propagate nlohmann_json 2024-12-18 17:31:07 -05:00
Silvan Mosberger
4f0dadbf38 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 b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Jonas Rembser
de24042fed root: 6.32.08 -> 6.34.00
Also, remove many patches and workarounds that are not necessary
anymore.
2024-11-29 11:19:42 +01:00
Dmitry Kalinkin
7bee67400f root: apply nixfmt 2024-11-17 15:21:48 -05:00
Dmitry Kalinkin
adea5468dc root: move to by-name 2024-11-17 15:20:42 -05:00