Commit Graph

26 Commits

Author SHA1 Message Date
R. Ryantm
7601d9017b curv: 0.5-unstable-2026-01-30 -> 0.5-unstable-2026-02-26 2026-03-10 12:56:23 +00:00
Peder Bergebakken Sundt
c6974fb795 curv: fix build by pinning boost
fixes https://hydra.nixos.org/build/323114523
2026-03-06 22:47:17 +01:00
Peder Bergebakken Sundt
7a15af8155 curv: 0.5-unstable-2026-01-23 -> 0.5-unstable-2026-01-30 (#485672) 2026-03-04 10:58:34 +00:00
Gergő Gutyina
40b5b4b750 treewide: move NIX_CFLAGS_COMPILE into env for structuredAttrs (#485484) 2026-02-03 00:27:55 +00:00
R. Ryantm
b20e83a51f curv: 0.5-unstable-2026-01-23 -> 0.5-unstable-2026-01-30 2026-01-31 17:31:57 +00:00
Fernando Rodrigues
3562403503 treewide: fetchFromGitea -> fetchFromCodeberg
Most packages that used fetchFromGitea fetch their sources from Codeberg, so might as well migrate them.

The following command was used for this treewide:
```fish
for i in (rg 'fetchFromGitea \{\n *domain = "codeberg.org";' --multiline --files-with-matches)
    sed -z 's/fetchFromGitea {\n *domain = "codeberg.org";/fetchFromCodeberg {/g' $i > $i.tmp && mv $i.tmp $i
    sed -i 's/fetchFromGitea/fetchFromCodeberg/g' $i
end
```

The following paths were manually edited:

* pkgs/by-name/xr/xrsh/package.nix
* pkgs/applications/networking/browsers/librewolf/src.nix
* pkgs/by-name/go/gotosocial/package.nix
* pkgs/by-name/ka/katawa-shoujo-re-engineered/package.nix

Co-authored-by: Gutyina Gergő <gutyina.gergo.2@gmail.com>
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2026-01-31 21:08:16 +11:00
Stefan Frijters
4ad0c9cc18 curv: move NIX_CFLAGS_COMPILE into env for structuredAttrs 2026-01-30 23:07:02 +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
Peder Bergebakken Sundt
5ef081f9db curv: mark broken on aarch64
https://hydra.nixos.org/job/nixos/unstable/nixpkgs.curv.aarch64-linux
2026-01-25 20:41:38 +01:00
R. Ryantm
b424739ee7 curv: 0.5-unstable-2026-01-17 -> 0.5-unstable-2026-01-23 2026-01-24 20:29:55 +00:00
Herwig Hochleitner
f338554235 curv: use eigen_5 2026-01-19 01:18:08 +01:00
Herwig Hochleitner
7a3da12e6c curv: add gcc wrapper for -Ojit 2026-01-19 01:18:08 +01:00
Herwig Hochleitner
9da49e68e1 curv: 0.5-unstable-2025-01-20 -> 0.5-unstable-2026-01-17 2026-01-19 01:18:08 +01: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
Rafael Ieda
eb011f3f0f curv: fix build with cmake4 2025-11-06 18:32:14 -03:00
Emily
f2b94e3da0 treewide: tbb -> onetbb 2025-09-15 17:29:35 +01:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Peder Bergebakken Sundt
8c62d86884 eigen_3_4_0: init at 3.4.0 2025-04-20 03:03:03 +02:00
Sigmanificient
e6fe6f4b7c treewide: remove unused rec expressions 2025-03-13 21:34:05 +01:00
Peder Bergebakken Sundt
a314868662 curv: downgrade eigen 2025-03-02 22:14:12 +01:00
Peder Bergebakken Sundt
e46f7b3ec8 curv: 0.5-unstable-2025-01-06 -> 0.5-unstable-2025-01-20 2025-03-02 21:37:54 +01:00
Peder Bergebakken Sundt
6a9d76045c curv: fix build on aarch64 2025-02-17 12:26:12 +01:00
Peder Bergebakken Sundt
b6d1b18c03 curv: 0.5 -> 0.5-unstable-2025-01-06, unbreak
fixes https://hydra.nixos.org/build/282651701
2025-01-08 02:47:17 +01:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01: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
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