Commit Graph

1125 Commits

Author SHA1 Message Date
Emily
c5b82e49b3 aliases: add warnAlias 2025-10-28 18:38:09 +00:00
Silvan Mosberger
7ff3f688ee lib.teams: Remove dummy Nixpkgs committers team and hardcode into feature freeze script
There's no reason this needs to be exposed under `lib.teams`
2025-10-27 19:33:06 +01:00
Silvan Mosberger
e4a1af0847 maintainers/scripts/feature-freeze-teams.pl: Output result to stdout 2025-10-27 19:33:05 +01:00
Silvan Mosberger
264ca12397 maintainers/scripts/feature-freeze-teams.pl: Use GitHub CLI
Makes it much easier and less involved to run
2025-10-27 19:33:05 +01:00
Michael Daniels
48f92d0ea5 maintainers/scripts/remove-old-aliases: add support for creating warnings
Also revert the addition of the "elif '"' in line:" condition:
lines with quotes are generally OK.

Co-authored-by: Emily <vcs@emily.moe>
2025-10-27 02:44:23 +00:00
Peder Bergebakken Sundt
2d3f108bb6 maintainers/scripts/remove-old-aliases: handle inherit (x) y;
Man this script is not very nice
2025-10-26 14:55:07 -04:00
Peder Bergebakken Sundt
66737dcdb4 maintainers/scripts/remove-old-aliases: detect and avoid more complex cases 2025-10-26 14:55:07 -04:00
Wolfgang Walther
9a3e70e317 python313Packages.nixpkgs-plugin-update: init from maintainer script (#453943) 2025-10-22 06:43:40 +00:00
Emily
00c40f1069 python313Packages.nixpkgs-plugin-update: init from maintainer script
We have machinery for Python packaging, so let’s make use of
it. This also helps unblock moving `by-name` overrides out of
`all-packages.nix`, as it was previously being used to work around
`nixpkgs-vet` forbidding the direct reference to the path.
2025-10-20 19:32:57 +01:00
Emily
3de337e9ed maintainers/scripts/pluginupdate-py: fix linter errors 2025-10-20 19:16:09 +01:00
Yohann Boniface
87894d3b71 maintainers: drop vyp (#450500) 2025-10-18 20:11:56 +00:00
Wolfgang Walther
a5bc3bbbd4 ci/eval/compare/maintainers: first-class by-name support (#452566) 2025-10-17 14:49:52 +00:00
Sandro
cf0abbbc00 Typst packages update 09/22/2025 (#445325) 2025-10-16 21:13:32 +00:00
Wolfgang Walther
44e4c1ba9f maintainers/scripts/get-maintainer-pings-between: drop
This has been broken for months, since all the interface to `ci/eval`
changed. Nobody noticed, so nobody is using it.
2025-10-16 13:36:42 +02:00
Sigmanificient
4492ecb3a4 maintainers: drop vyp 2025-10-10 02:12:07 +02:00
Silvan Mosberger
1ea51e1f1a lib.teams: Remove .githubTeams in favor of singular .github
No team was using the feature of having multiple GitHub teams, and this
would make it tricky to try to sync maintainer teams with GitHub teams.
2025-10-08 21:44:39 +02:00
Vladimír Čunát
dd51f936da Merge branch 'master' into staging-next
lixPackageSets.git conflicted via 9c29a340be + eabfa160aa
I think, hopefully good now.
2025-10-05 08:18:28 +02:00
Philip Taron
d9335d5dd7 treewide: remove optional builtins prefixes from prelude functions (#444432) 2025-10-04 18:30:40 +00:00
nixpkgs-ci[bot]
dd2d512251 Merge master into staging-next 2025-10-03 00:15:52 +00:00
Jörg Thalheim
e6146272ea copy-tarballs: drop perl bindings
This hopefully makes it easier to re-write this script in a language
that people understand. Because it's shelling out, it's likely slower
but hopefully still fast enough for our purposes.
2025-09-30 16:02:29 +02:00
NAHO
dec908b169 treewide: 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 --exec-batch sed --in-place --regexp-extended "
      s/\<builtins\.($(
        printf '%s\n' "${builtins[@]}" |
          paste --delimiter '|' --serial -
      ))\>/\1/g
    "

    nix fmt
2025-09-30 09:05:08 +02:00
Gongqi Huang
8c478a8d0f maintainers/scripts/update-typst-packages.py: Skip packages that cannot be found in the registry 2025-09-22 17:32:02 -04:00
sternenseemann
f02201c53a ghc: 9.8.4 -> 9.10.3; Stackage LTS: 23.27 -> 24.9 (#429810) 2025-09-20 23:09:13 +02:00
nixpkgs-ci[bot]
14bccfe430 Merge staging-next into staging 2025-09-17 18:06:09 +00:00
Wolfgang Walther
8a0284dcd2 haskellPackages.cabal2nix-unstable: override with unstable dependencies
These dependencies need to be pulled from the same unstable commit that
cabal2nix is pulled from, otherwise changes to any of them will not be
in effect and possibly break the build.

(cherry picked from commit 631661e66c)
2025-09-17 09:36:37 +02:00
Wolfgang Walther
3f34a58e0c haskellPackages.cabal2nix-unstable: set version according to contribution guidelines
The contribution guidelines require an unstable version to be leading
with a real version, or if none is available with `0-`.

This is because certain Nix operations split a package's full name into
name and version component starting with the first section starting with
a digit.

(cherry picked from commit 453d0f8eab)
2025-09-17 09:18:53 +02:00
Wolfgang Walther
2e306afa68 maintainers/scripts/haskell/hydra-report: speed up with --no-instantiate
This is a new flag introduced in `nix-eval-jobs`, which reduces runtime
for the `ping-maintainers` subcommand from 12 minutes to 3 minutes for
me.

The `--constituents` flag is not supported anymore with
`--no-instantiate`, but it doesn't seem to make a difference anyway.
Same for `--max-jobs` - I don't get a difference with or without it.

Removing the `foldl'` import because it is warned to be redundant after
switching to import the current nixpkgs instance, likely due to a newer
GHC version (?).
2025-09-12 14:58:58 +02:00
Wolfgang Walther
b9ec8bed14 treewide: fix typos in md files (#439306) 2025-09-09 08:03:31 +00:00
Ben Siraphob
0849a4f6cd maintainers: fix typos in md files 2025-09-09 13:14:35 +07:00
nixpkgs-ci[bot]
e68760f56a Merge b772b8167c into haskell-updates 2025-09-09 00:20:52 +00:00
Jörg Thalheim
186b12b31e pkgs/stdenv/linux: add powerpc64-unknown-linux-gnuabielfv1 bootstrap-files (#423133) 2025-09-08 14:13:03 +02:00
Wolfgang Walther
e883d6d78c Merge commit '50a00d8692c0253cc75a3dc0bfc46a88d98f1b8c' into haskell-updates 2025-09-07 20:29:39 +02:00
Emily
c024327605 haskell.compiler.ghc8107{,Binary}: drop
Also, rearrange the GHC‐related release notes to be in order of
most likely to matter to anyone.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-09-07 18:45:36 +01:00
sternenseemann
4d5d2bbf0e maintainers/haskell/hydra-report.hs: stop referencing infra issue
The timeout does not seem to happen anymore, so we can stop sending mass
requests (https://github.com/cdepillabout/nix-haskell-updates-status/pull/13)
and don't need to further contextualize them.
2025-09-06 14:49:55 +02:00
Malte Ott
e67ff20705 haskellPackages.cabal2nix-unstable: override with unstable dependencies (#438290) 2025-09-01 14:30:43 +02:00
Wolfgang Walther
631661e66c haskellPackages.cabal2nix-unstable: override with unstable dependencies
These dependencies need to be pulled from the same unstable commit that
cabal2nix is pulled from, otherwise changes to any of them will not be
in effect and possibly break the build.
2025-09-01 14:10:36 +02:00
nixpkgs-ci[bot]
4bdb827cdc Merge b536f7a97c into haskell-updates 2025-08-31 00:23:03 +00:00
PerchunPak
8f5fbd1ea9 pluginupdate.py: normalize input for filtering plugins
Replacing `.` with `-`
2025-08-30 12:59:29 +02:00
nixpkgs-ci[bot]
c82748f890 Merge d8f8b0d1b3 into haskell-updates 2025-08-30 00:20:12 +00:00
sternenseemann
bd4a36f924 git-annex: 10.20250416 -> 10.20250721
Stackage LTS 24 contains git-annex (contrary to LTS 23). I believe this
resulted in a downgrade of git-annex when switching to LTS 23. We'll
want to continue using the latest version of git-annex. At the very
least, this will fix the trouble we're having with its test suite on
haskell-updates.
2025-08-29 22:08:39 +02:00
Wolfgang Walther
453d0f8eab haskellPackages.cabal2nix-unstable: set version according to contribution guidelines
The contribution guidelines require an unstable version to be leading
with a real version, or if none is available with `0-`.

This is because certain Nix operations split a package's full name into
name and version component starting with the first section starting with
a digit.
2025-08-29 12:26:30 +02:00
Jamie Magee
4e36f266d6 dotnet: remove nuget-to-nix support 2025-08-27 18:25:04 -07:00
sternenseemann
bbefb1d462 maintainers/hydra-report.hs: migrate to nix-eval-jobs
Hydra unilaterally removed hydra-eval-jobs, so we need to figure out how
to migrate to nix-eval-jobs. I can't shake the feeling that it's slower.
Maybe we need to increase the resource limitations for nix-eval-jobs.

nix-eval-jobs no longer produces a big JSON object, but instead one
object per line (one for each job). This is supported in a simple way by
readJSONLinesProcess. It'd be possible to implement this without
presupposing that there's one object per line, however, it is not an
usecase exactly intended by aeson, it seems.

nix-eval-jobs makes our job easier in some ways, e.g. jobs have a proper
meta set now, so we no longer need to cross reference a mail address to
github handle map. There is even room for further improvement, e.g.
attribute paths can just be queried instead of generating them using
Text.splitOn.

See also https://github.com/NixOS/hydra/pull/1421.
2025-08-12 14:29:35 +02:00
sternenseemann
e0f8791259 maintainers/haskell/hydra-report.hs: use eitherDecodeStrictText 2025-08-12 14:29:35 +02:00
sternenseemann
7dfed14799 haskellPackages.cabal2nix-unstable: don't wrap with runtime deps
cabal2nix-unstable is mostly used for regenerating the Haskell package
set. Thus we should aim to make it quick to rebuild in case its hash
changes because of Haskell related changes.

- cabal2nix is not fussy about the Nix version it uses for nix-env(1)
  and we can just assume it is already in PATH like we do for
  maintainers/scripts/haskell/*.

- nix-prefetch-scripts causes the most trouble since its python
  dependencies depend on pandoc, so many Haskell changes require
  an additional Python rebuild when building cabal2nix-unstable.

  nix-prefetch-scripts is most likely installed and not necessary in
  many cases, e.g. hackage2nix doesn't need them which is the main use
  we have for cabal2nix-unstable. For the update scripts that do need
  them, we add them to the used nix-shell explicitly.
2025-07-30 13:02:47 +02:00
sternenseemann
8fec8af67a haskellPackages.cabal2nix-unstable: use separate bin output 2025-07-30 13:02:47 +02:00
nixpkgs-ci[bot]
7873608739 Merge cda03d762a into haskell-updates 2025-07-19 00:22:11 +00:00
Wolfgang Walther
78790dabd9 nixfmt[-rfc-style]: unstable -> 1.0.0 (#425068) 2025-07-18 17:40:43 +00:00
Silvan Mosberger
98169225ad maintainers/scripts/update.nix: Run updateScript in development shell
Update scripts aren't always run in the development shell by default,
especially not in the regular automated updates.
The parent commit makes the update scripts depend on running in the
development shell, so let's make sure it's always done.
2025-07-18 19:03:12 +02:00
sternenseemann
0545642ebb maintainers/update-{st,h}ackage.sh: drop support for --do-commit 2025-07-18 00:45:30 +02:00