607 Commits

Author SHA1 Message Date
Eman Resu ff094f60ad treewide: replace more singleton license lists 2026-07-15 14:04:39 -04:00
Eman Resu a425506cd5 various: fix license breakages 2026-07-15 13:57:18 -04:00
Clément 5d26766cbf treewide: add missing meta.homepage with source git repository
Added homepage where missing, where the sources are pulled from:
- https://github.com
- https://git.sr.ht
- https://gitlab.com
- https://invent.kde.org
- https://codeberg.org
- https://gitlab.gnome.org
- https://gitlab.freedesktop.org
- https://git.FreeBSD.org
- https://salsa.debian.org
- https://git.tvdr.de
- https://git.suckless.org
2026-06-01 23:40:52 +02:00
Sergei Trofimovich f3f5047f5a bats.tests: fix the eval
Without the chnage the eval fails as:

    $ nix build --no-link -f. bats.tests
    error:
       … while evaluating the attribute 'resholve'
         at pkgs/by-name/ba/bats/package.nix:250:5:
          249|     inherit bash-preexec locate-dominating-file;
          250|     resholve = resholve.tests.cli;
             |     ^
          251|   }

       … while evaluating the attribute 'tests.cli'
         at pkgs/development/misc/resholve/resholve.nix:58:5:
           57|       ;
           58|     tests = callPackage ./test.nix {
             |     ^
           59|       inherit

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: function 'anonymous lambda' called with unexpected argument 'python27'
       at pkgs/development/misc/resholve/test.nix:1:1:
            1| {
             | ^
            2|   lib,
2026-06-01 20:08:17 +01:00
Aliaksandr 34bc09dca9 resholve: move python2-modules from oil to their folder 2026-05-31 15:15:51 +03:00
Aliaksandr cfaddae52a python2: delete docs 2026-05-31 15:15:00 +03:00
Aliaksandr e6871d9800 python2: move cpython, mkPythonDerivation into resholve 2026-05-31 15:14:59 +03:00
Aliaksandr c510450a30 python2: remove from top-level 2026-05-31 15:14:59 +03:00
Aliaksandr a863496453 resholve: move python27 into its own file 2026-05-31 15:14:58 +03:00
Aliaksandr 2c87389c6f python2-packages: move into resholve 2026-05-31 15:14:58 +03:00
Sandro ab2276ee2d yadm: allow omitting some dependencies (#516675) 2026-05-26 16:17:15 +00:00
Sandro Jäckel 0438d3a58c treewide: resolve pypi.org and related redirects 2026-05-23 01:48:10 +02:00
SandaruKasa 0a1bf9d0ab resholve.mkDerivation: propagate strictDeps & __structuredAttrs 2026-05-16 19:11:57 +03:00
Travis A. Everett 1641b0188d various: switch resholve + rec packages to finalAttrs
These likely would have been switched long ago by various automated
PRs if not for lack of support in resholve.mkDerivation.
2026-05-15 19:46:05 -05:00
Travis A. Everett 62e9404388 resholve: fix finalAttrs compatibility 2026-05-15 19:46:05 -05:00
Robert Schütz e4f7a5a430 resholve: override pip's knownVulnerabilities 2026-05-03 23:18:55 -07:00
Travis A. Everett 3580fa1a79 resholve: adapt to marking of py2 setuptools CVE 2026-05-03 12:54:36 -07:00
Lisanna Dettwyler 27a41ab6b1 mspds-bin: use https for sources
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
2026-03-21 12:31:02 -04:00
Wael Nasreddine 322dc9abed h3_4: 4.3.0 -> 4.4.1, python3Packages.h3: 4.4.1 -> 4.4.2 (#493392) 2026-02-26 03:57:02 +00:00
Martin Joerg 35d6a98583 h3_4: 4.3.0 -> 4.4.1
https://github.com/uber/h3/blob/refs/tags/v4.4.1/CHANGELOG.md
https://github.com/uber/h3/compare/refs/tags/v4.3.0...refs/tags/v4.4.1
2026-02-23 16:49:34 +00:00
jopejoe1 1e3884e7a0 msp430Newlib: set pname and version 2026-02-18 10:32:58 +01:00
Stefan Frijters 056ccdfcf4 mspds: move NIX_LDFLAGS into env for structuredAttrs 2026-02-07 14:16:01 +01:00
Jo d9e07c6f8f vc4-newlib: set pname and version (#486734) 2026-02-04 21:35:08 +00:00
Sigmanificient 083b7a19aa vc4-newlib: set pname and version 2026-02-04 22:11:31 +01:00
Sigmanificient 5aea5edc5e or1k-newlib: set pname and version 2026-02-03 23:59:35 +01:00
Weijia Wang b988705bf5 mspdebug: 0.25 -> 0.26 (#461411) 2026-02-02 23:51:28 +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
nixpkgs-ci[bot] 4f189086d0 Merge master into staging-nixos 2026-01-26 18:08:53 +00: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
Ben Siraphob c7e10647ea treewide: fix typos 2026-01-13 14:45:11 -05:00
Wolfgang Walther 9534d52810 resholve: fix build with structuredAttrs (#470700) 2025-12-15 08:06:26 +00:00
Stefan Frijters c16e8406a0 resholve: fix build with structuredAttrs 2025-12-14 15:59:51 +01:00
nixpkgs-ci[bot] 0bf9c97a6d Merge staging-next into staging 2025-12-13 00:18:26 +00:00
Wolfgang Walther d59250e804 Merge branch 'master' into staging-nixos 2025-12-10 18:45:42 +01:00
Wolfgang Walther 46c0c0eae7 Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +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
Thiago Kenji Okada 3e892ed367 nixos-rebuild: remove 2025-12-03 22:41:16 +00:00
R. Ryantm 2b971dc588 mspdebug: 0.25 -> 0.26 2025-11-14 00:30:23 +00:00
Travis A. Everett 2662c1b538 resholve: 0.10.6 -> 0.10.7
Non-source changes:
- drops `bash -n` style syntax checking for writeScript(Bin) to avoid
  breaking cross builds
- add postResholve hook (supersedes unmerged pr #439997)
- track testing changes in resholve
2025-11-09 20:04:03 -06:00
Rafael Ieda 06c79febc4 h3, h3_3: fix build with cmake4 2025-10-26 09:42:26 -03:00
K900 f8d669f413 Merge remote-tracking branch 'origin/master' into staging-next 2025-10-04 21:10:21 +03:00
NAHO c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
nixpkgs-ci[bot] 02bde57e9a Merge master into staging-next 2025-09-24 18:05:53 +00:00
Nikolay Korotkiy fa25e2fa22 h3_4: 4.2.0 -> 4.3.0 (#436291) 2025-09-24 15:59:43 +00:00
Robert Hensing 3d19784820 haskellPackages.changelog-d: 1.0.1 -> 1.0.2 2025-08-28 14:00:00 +02:00
nixpkgs-ci[bot] 481393d6bb Merge 33de6dfc31 into haskell-updates 2025-08-28 00:20:54 +00:00
Peder Bergebakken Sundt 387c44658f treewide: remove unused ... from package lambdas
located with `rg '^ *\.\.\.$' -tnix -l pkgs | xargs grep @ -L | grep -E '/(default|package)\.nix$'`
2025-08-27 17:40:18 +02:00
Martin Joerg 2170297e62 h3_4: 4.2.0 -> 4.3.0
https://raw.githubusercontent.com/uber/h3/v4.3.0/CHANGELOG.md
https://github.com/uber/h3/compare/refs/tags/v4.2.1...refs/tags/v4.3.0
2025-08-23 21:38:35 +00:00
nixpkgs-ci[bot] 9a67a6a955 Merge a534596775 into haskell-updates 2025-08-22 00:22:54 +00:00
jopejoe1 065ae9b9d3 newlib: move to by-name 2025-08-21 08:40:02 +02:00