Commit graph

1109 commits

Author SHA1 Message Date
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
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
sternenseemann 250924fd7d maintainers/update-hackage.sh: don't print diff if no changes
Bug introduced in 1158f20f15.
2025-07-18 00:45:30 +02:00
nixpkgs-ci[bot] f10aa089db
Merge d7c8095791 into haskell-updates 2025-07-16 00:23:09 +00:00
Silvan Mosberger b68cc636d3 treewide: Remove nixfmt-rfc-style from update script shebangs
Based on the Nixpkgs used and the version of nixfmt-rfc-style in that
version, it's likely that not the correct version is used.

Update scripts should instead run within a Nixpkgs development shell
(`nix-shell`/`nix develop`/`direnv`), where the correct version of
`nixfmt` (although `treefmt` should be preferred) is always available.
2025-07-15 23:27:22 +02:00
Silvan Mosberger d1a4769b38 treewide: nixfmt-rfc-style -> nixfmt
Except:
- Instances in documentation, because people in older versions
  can't switch to nixfmt yet due to it having pointed to nixfmt-classic
  before
- In code that runs based on a CI Nixpkgs version, which is also a bit
  older still
- In update script shebangs, because many of them don't pin Nixpkgs, and run
  with whatever is in NIX_PATH (and it's not easy to fix this, see
  https://github.com/NixOS/nixpkgs/issues/425551)
2025-07-15 22:14:18 +02:00
K900 a2f4f88315 scripts/kde: handle missing hashes gracefully 2025-07-15 14:14:37 +03:00
sternenseemann 34c51b70fb maintainers/scripts/haskell: unify pkg set update into single commit
Currently, every package set consists of three commits, generated by
update-hackage.sh, update-stackage.sh and
regenerate-hackage-packages.sh, respectively. This is suboptimal, as it
necessarly causes intermediate states of Nixpkgs where the generated
hackage-packages.nix and all-cabal-hasehs and/or the hackage2nix
configuration files are out of sync. Ideally, running
regenerate-hackage-packages.sh is a no-op for every Nixpkgs revision.

This is achieved by adding a wrapper script, update-package-set.sh,
which runs the individual moving parts and commits the result.
2025-07-10 18:06:02 +02:00
sternenseemann 5e758ae573 maintainers/haskell/regen-h-packages.sh: let user edit commit msg
Calling git commit with --edit here, allows the user to rephrase the
very nondescript default message, in doing so e.g. clarifying why the
regeneration was necessary etc. This should hopefully encourage better
commit mesages.
2025-07-10 18:06:02 +02:00
sternenseemann f834f1dacc maintainers/scripts/haskell: briefer commit message bodies
The “This commit was generated by …” message is very wordy and often
exceeds 72 characters which is a good (loose) target for wrapping lines
in commit messages.
2025-07-10 18:06:02 +02:00
sternenseemann 1158f20f15 maintainers/haskell/update*: print version diff when not committing
This allows other scripts to detect whether anything changed without
resorting to git-diff(1): If nothing changed, stdout will be empty (i.e.
we now enforce that other messages go to stderr). To make sure that this
behavior is retained in the future, the scripts' behavior is briefly
documented in the files' header.
2025-07-10 18:06:02 +02:00
OPNA2608 23244c7f77 maintainers/scripts/bootstrap-files: Add ELFv1 powerpc64 to CROSS_TARGETS 2025-07-07 09:30:17 +02:00
nixpkgs-ci[bot] 8f1e3c063d
Merge d55716bb59 into haskell-updates 2025-07-03 00:22:50 +00:00
nixpkgs-ci[bot] 5645eb91c0
Merge staging-next into staging 2025-07-03 00:18:50 +00:00
Philip Taron df42f855db
treewide: add --extra-experimental-features nix-command to nix hash invocations 2025-07-02 08:34:40 -07:00
sternenseemann c85656eae6 maintainers/scripts/haskell: don't redundantly add C++ Nix to env
Since the shebang calls nix-shell, we can safely assume that Nix (Lix,
C++ Nix) is installed. Our scripts should support a wide enough range of
Nix versions so that using the “impure” version of the tool is not a
problem.

This works around #400784. My theory is that the Nix frontend commands
no longer work with older versions of the Nix daemon nor the Lix daemon
in our workloads.
2025-06-30 16:18:48 +02:00
Wolfgang Walther b4532efe93
**/README.md: one sentence per line
As documented in doc/README.md.
2025-06-29 21:14:32 +02:00
June Stepp a5539704d7 luaPackages.lrexlib-oniguruma: init at 2.9.2-1 2025-06-24 14:23:28 +02:00