Commit Graph

859 Commits

Author SHA1 Message Date
maralorn
b9cae33009 haskellPackages.cabal2nix-unstable: 2024-01-04 -> 2024-02-05 2024-02-05 23:32:27 +01:00
Matthieu Coudron
86af9d1ce8 luaPackages.nvim-nio: init at 1.2.0-1 2024-02-05 19:42:30 +01:00
Matthieu Coudron
0d44579e51 lua51Packages.rocks-nvim: init at 2.7.3-1 2024-02-05 19:42:30 +01:00
github-actions[bot]
c2791e85de
Merge master into haskell-updates 2024-01-29 00:12:49 +00:00
Sergei Trofimovich
8a256ed0a7 maintainers/scripts/bootstrap-files: documentation and a script to update tarballs
This script attempts to document the exact procedure used to upload
bootstrap binaries used previously. I modeled it after most recent
https://github.com/NixOS/nixpkgs/pull/282517 upload.

There is one deviation from it to make it easier to handle mass updates
for https://github.com/NixOS/nixpkgs/issues/253713:

The binaries are expected to be stored in `stdenv/$target` (and not
something like `stdenv-linux/i686`.

The script handles both native and cross- linux targets. `darwin` will
need a bit more work to fin into this scheme, but it should be easy.

Example run to generate `i686-linux` update:

    $ maintainers/scripts/bootstrap-files/refresh-tarballs.bash --commit --targets=i686-unknown-linux-gnu
2024-01-28 14:48:18 +00:00
Naïm Favier
18456d10ef
maintainers/scripts/haskell: optimise calculateReverseDependencies
Use an IntMap rather than a list for the fixpoint computation.
2024-01-14 17:46:48 +01:00
Naïm Favier
afb843b80f
maintainers/scripts/haskell: ignore self-dependencies
These create trivial loops in the dependency graph, which make the
transitive closure computation loop.
2024-01-14 17:46:04 +01:00
sternenseemann
245035ea35 Merge remote-tracking branch 'origin/master' into haskell-updates 2024-01-12 16:55:57 +01:00
Jan Tojnar
ff42d23313 Merge branch 'master' into staging-next
Conflicts:

pkgs/development/python-modules/dbt-core/default.nix
pkgs/development/python-modules/dbt-semantic-interfaces/default.nix

Still broken by pydantic 2 bump, though.
2024-01-07 16:14:41 +01:00
sternenseemann
854b534052 haskellPackages: stackage LTS 21.25 -> LTS 22.4
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2024-01-07 14:14:09 +01:00
Vladimír Čunát
8a839514de
Merge branch 'master' into staging-next 2024-01-04 15:07:44 +01:00
sternenseemann
4a227da543 haskellPackages: stackage LTS 21.23 -> LTS 21.25
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
and maintainers/scripts/haskell/regenerate-hackage-packages.sh.

Add capability to update to an out of date solver in update-stackage.sh.
2024-01-04 13:31:30 +01:00
Gaetan Lepage
15373e4b9d maintainers/scripts/pluginupdate.py: filter invalid XML characters 2024-01-03 23:23:09 +01:00
K900
887e96e875 Merge remote-tracking branch 'origin/master' into staging-next 2024-01-02 10:55:23 +03:00
github-actions[bot]
d4c7b50784
Merge master into haskell-updates 2023-12-27 00:12:29 +00:00
Martin Weinelt
1bae2c7e57 Merge remote-tracking branch 'origin/master' into staging-next 2023-12-26 16:33:57 +01:00
Matthieu Coudron
be0c33cafc luaPackages.image-nvim: init at 1.2 2023-12-26 14:47:47 +01:00
github-actions[bot]
d34c05a7c3
Merge master into haskell-updates 2023-12-22 00:12:39 +00:00
github-actions[bot]
a9a9030f1b
Merge master into staging-next 2023-12-22 00:02:09 +00:00
Silvan Mosberger
02b3c06b1c
Merge pull request #274591 from tweag/by-name-reproducible
`pkgs/by-name`: Enable gradual migration checks and add `run-local.sh`
2023-12-22 00:17:37 +01:00
Silvan Mosberger
f882df781c maintainers/scripts/check-by-name.sh: Introduce symlink alias 2023-12-22 00:04:16 +01:00
github-actions[bot]
83f5ace380
Merge master into haskell-updates 2023-12-18 00:13:30 +00:00
github-actions[bot]
6ffc5a8603
Merge staging-next into staging 2023-12-18 00:03:01 +00:00
Matthieu Coudron
6946f33a2e luaPackages.nlua: init at 0.1
a wrapper around neovim to use it as a lua interpreter
2023-12-17 22:59:28 +01:00
github-actions[bot]
71c41d360a
Merge staging-next into staging 2023-12-17 18:01:38 +00:00
Marc Jakobi
6e3af65947 luaPackages.nvim-client: remove 2023-12-17 17:37:25 +01:00
github-actions[bot]
f061cfd767
Merge master into haskell-updates 2023-12-14 00:12:40 +00:00
github-actions[bot]
688991ba84
Merge staging-next into staging 2023-12-13 12:01:48 +00:00
nicoo
6b6b12c27c doc/manpage-urls.json: Add *all* systemd manpages
and add the generating script to `maintainers/scripts/doc`
2023-12-12 23:06:11 +00:00
github-actions[bot]
dc3afe8ff5
Merge master into haskell-updates 2023-12-09 00:12:41 +00:00
Dmitry Kalinkin
025a278148 Merge remote-tracking branch 'origin/master' into staging
Conflicts:
	pkgs/tools/networking/ofono/default.nix
2023-12-08 12:27:28 -05:00
nicoo
1d7f14656a
maintainers-list.nix: Document (current) invitation process, add get-maintainer.sh (#267084)
* maintainer-list: Document automatic invites to @NixOS/nixpkgs-maintainers

* maintainers/scripts: Add `get-maintainer.sh`

Supports querying `maintainers-list.nix` by Nix attribute,
email address, github name or id, matrix account, or name.

* maintainers/scripts/get-maintainer.sh: More verbose help message

* maintainers/scripts/get-maintainer.sh: Fix (some) `shellcheck` lints

* maintainers/scripts: Add README

* maintainers/scripts/get-maintainer.sh: Put inline documentation at the top of the file

* maintainers/scripts: Document this is not a stable interfact to nixpkgs

Co-authored-by: Silvan Mosberger <github@infinisil.com>

* scripts/README: Add example for `get-maintainer.sh`

---------

Co-authored-by: Silvan Mosberger <github@infinisil.com>
2023-12-08 02:57:38 +01:00
Marc Jakobi
8245a91890 luaPackages: pin luuid to 20120509-2 2023-12-08 01:10:25 +01:00
Marc Jakobi
df40110ea7 luaPackages: unpin compat53 2023-12-08 01:10:25 +01:00
Marc Jakobi
d5b50b71a6 luaPackages: fix lua_cliargs and toml-edit after update 2023-12-08 01:10:25 +01:00
Marc Jakobi
1a48973558 luaPackages.fidget-nvim: init at 1.0.0 2023-12-08 01:10:25 +01:00
github-actions[bot]
a07e69c080
Merge master into haskell-updates 2023-12-05 00:12:58 +00:00
Marc Jakobi
8998288f7b luaPackages.fzy: init at 1.0-1 2023-12-04 22:00:06 +01:00
Naïm Favier
1a1a8d2559
maintainers/scripts/merge-and-open-pr: fix error handling
Calling `die` in a subshell hides the error message.
2023-12-04 19:06:30 +01:00
Naïm Favier
5f1da6e045
scripts/haskell/hydra-report: use inline emoji
GitHub broke the rendering of colon emoji codes inside square brackets;
let's just use emoji.
2023-12-03 13:06:38 +01:00
Matthieu Coudron
d00d51e451 luaPackages.luasnip: init at 2.1.1-1 2023-12-02 11:29:46 +01:00
figsoda
032090d216
Merge pull request #267794 from figsoda/up-date
pluginupdate.py: format date differently
2023-11-16 22:08:21 -05:00
figsoda
7805a7a88f pluginupdate.py: format date differently
- use %Y-%m%d
- use UTC instead of local time
2023-11-15 22:23:30 -05:00
github-actions[bot]
9776723357
Merge master into staging-next 2023-11-11 18:00:58 +00:00
Anthony Roussel
e30f48be94
treewide: fix redirected and broken URLs
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
Alyssa Ross
afabc4a15d
Merge remote-tracking branch 'origin/master' into HEAD
Conflicts:
	pkgs/development/libraries/SDL2/default.nix
2023-11-10 15:18:19 +01:00
github-actions[bot]
8541e5ab09
Merge master into haskell-updates 2023-11-07 00:12:32 +00:00
Weijia Wang
32da89a1a1 Merge branch 'master' into staging-next 2023-11-06 14:33:18 +01:00
Luka Blaskovic
cac8c76f21 lua-rtoml: init 0.2 2023-11-06 10:36:31 +01:00
Dennis Gosnell
f754973d14
haskell hydra-report: bump timeout for all requests to Hydra
In practice, almost all requests to Hydra take longer than the default
timeout of 30 seconds.

This commit bumps all requests to the max timeout of 15 minutes.  This
should hopefully make the hdyra-report.hs script more reliable and fail
less.
2023-11-02 10:29:42 +09:00
Vladimír Čunát
5c89ba8ab4
Merge branch 'master' into staging-next 2023-10-30 06:12:04 +01:00
Matthieu Coudron
f15e58cbeb
luarocks-packages-update: init (#262156)
* luarocks-packages-updater: init

Goal is to make it possible to maintain out-of-tree luarocks packages
without needing to clone nixpkgs.

maintainers/scripts/update-luarocks-packages gets renamed to
pkgs/development/lua-modules/updater/updater.py

Once merged you can run for instance
nix run nixpkgs#luarocks-packages-updater -- -i contrib/luarocks-packages.csv -o contrib/generated-packages.nix

I also set the parallelism (--proc) to 1 by default else luarocks fails
because of https://github.com/luarocks/luarocks/issues/1540

* Update maintainers/scripts/pluginupdate.py

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>

---------

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
2023-10-29 21:02:55 +01:00
Vladimír Čunát
d811555465
Merge branch 'staging' into staging-next 2023-10-26 10:36:50 +02:00
Marc Jakobi
fa28b174ca luaPackages: ferris-nvim -> rustaceanvim 2023-10-23 18:08:03 +02:00
Matthieu Coudron
8b7a6ef57e luaPackages.cyrussasl: remove because broken/old
and unused ?
2023-10-22 12:45:17 +02:00
Matthieu Coudron
db9d831c0b luaPackages.lua-ff-zlib: init 2023-10-22 12:45:17 +02:00
Matthieu Coudron
12776aa736 update-luarocks-package: update script
else nixpkgs-review fails
2023-10-22 12:45:17 +02:00
Matthieu Coudron
e8dbe285c5 luaPackages.readline: moved out from the generated set 2023-10-22 12:45:17 +02:00
Matthieu Coudron
9429b5692a luaPackages: update csv files
- luaPackages.basexx: use upstream
- luaPackages.nui-nvim: fix name in csv file
2023-10-22 12:45:16 +02:00
Marc Jakobi
9b6a9a3ea7 luaPackages.ferris.nvim: init at 2.0.0 2023-10-21 14:28:54 +02:00
Matthieu Coudron
3fd1d89105 pluginupdate.py: mention the date when updating plugins
will apply to vimPlugins/kakoune/luarocks update
2023-10-20 14:09:50 +02:00
Matthieu Coudron
252412c2b8 vimPluginsUpdater: fix treesitter updates 2023-10-15 23:56:45 +02:00
Matthieu Coudron
0be613cb81 luaPackages.lpty: remove because unmaintained/broken
lpty was introduced in https://github.com/NixOS/nixpkgs/pull/6529, no release in 6 years https://luarocks.org/modules/gunnar_z/lpty
and the archive with source code has disappeared (could be fetched from
the rock or nix cache but probably not worth it).
2023-10-14 22:03:53 +02:00
Matthieu Coudron
922a4d82c5
Merge pull request #260759 from mrcjkb/toml-edit
luaPackages: add some lua packages
2023-10-13 15:28:36 +02:00
Marc Jakobi
3425b6cee6 luaPackages: use overrides for toml and toml-edit 2023-10-13 15:06:28 +02:00
Marc Jakobi
d78d7cbc64 luaPackages.nui-nvim: init at 0.2.0 2023-10-12 22:43:22 +02:00
Marc Jakobi
ec41f69f34 luaPackages.toml-edit: init at 0.1.4 2023-10-12 22:12:39 +02:00
éclairevoyant
b623143563
maintainers/fix-maintainers.pl: error on unset GH_TOKEN 2023-10-09 09:05:38 -04:00
éclairevoyant
116ab287c5
maintainers/fix-maintainers.pl: handle null github handles
* use attrname in log messages instead of github handle
* don't remove users simply for empty github handles, if their user
  still exists (prevents #259555)
2023-10-09 09:01:53 -04:00
Alyssa Ross
1da4b5c99e
release.nix: namespace bootstrap tools with triples
This will allow buliding bootstrap tools for platforms with
non-default libcs, like *-unknown-linux-musl.

This gets rid of limitedSupportSystems/systemsWithAnySupport.  There
was no need to use systemsWithAnySupport for supportDarwin, because it
was always equivalent to supportedSystems for that purpose, and the
only other way it was used was for determining which platforms to
build the bootstrap tools for, so we might as well use a more explicit
parameter for that, and then we can change how it works without
affecting the rest of the Hydra jobs.

Not affecting the rest of the Hydra jobs is important, because if we
changed all jobs to use config triples, we'd end up renaming every
Hydra job.  That might still be worth thinking about at some point,
but it's unnecessary at this point (and would be a lot of work).

I've checked by running

    nix-eval-jobs --force-recurse pkgs/top-level/release.nix

that the actual bootstrap tools derivations are unaffected by this
change, and that the only other jobs that change are ones that depend
on the hash of all of Nixpkgs.  Of the other jobset entrypoints that
end up importing pkgs/top-level/release.nix, none used the
limitedSupportedSystems parameter, so they should all be unaffected as
well.
2023-10-07 19:38:01 +00:00
Tyler Miller
c02ab0ce68 luaPackages.middleclass: init at 4.1.1-0 2023-10-03 17:53:49 +02:00
Matthieu Coudron
901b21c555 vimPluginsUpdater: init
The nixpkgs documentation mentions how to update out of tree plugins but
one problem is that it requires a nixpkgs clone.
This makes it more convenient.
I've had the need to generate vim plugins and lua overlays for other
projects unrelated to nix and this will make updates easier (aka just
run `nix run nixpkgs#vimPluginsUpdater -- --proc=1` or with the legacy commands:
`nix-shell -p vimPluginsUpdater  --run vim-plugins-updater`.

I added an optional "nixpkgs" argument to command line parser, which is the path
towards a nixpkgs checkout. By default the current folder.

update-luarocks-packages: format with black
2023-10-01 17:30:55 +02:00
nicoo
6b2889e87a maintainers/scripts/sha256-to-SRI.py: rename to sha-to-sri.py
Add support for `sha512`, refactor to easily add hash functions in the future.

Also, skip autogenerated files.
2023-09-22 18:37:24 +02:00
Maciej Krüger
7b737acb4a
Merge pull request #254967 from nbraud/sha256-to-hash/top-level 2023-09-15 14:36:49 +02:00
nicoo
98ca068515 sha256-to-hash.py: Improve logging 2023-09-13 17:24:28 +00:00
nicoo
a0b1f164af sha256-to-hash.py: Gracefully handles errors, like invalid hashes in examples 2023-09-13 17:24:28 +00:00
nicoo
9012e71c9b sha256-to-hash.py: Support other encodings than nix32 2023-09-13 17:24:27 +00:00
nicoo
735d2756b0 maintainers/scripts/sha256-to-SRI.py: init 2023-09-13 17:24:27 +00:00
github-actions[bot]
a5158e8ace
Merge master into haskell-updates 2023-09-13 00:12:06 +00:00
nicoo
8dcbced52a maintainers/scripts/remove-old-aliases: Drop pkgs. prefix if present
This should provide nicer `throw` messages, and avoid back-and-forth like
	https://github.com/NixOS/nixpkgs/pull/254418#discussion_r1322076574
2023-09-12 11:41:36 +00:00
maralorn
ba46866a27
maintainers/scripts/haskell: Fix a typo 2023-09-06 00:06:02 +02:00
sternenseemann
5a835f6742 maintainers/haskell/mark-broken.sh: allow passing --no-request-logs
This flag needs to be passed through to hydra-report.hs.
2023-09-03 22:15:15 +02:00
sternenseemann
71cbb538a5 maintainers/haskell/hydra-report.hs: increase timeout to 15min
This seems to be the server side Hydra timeout as well, so it makes
sense waiting as long as Hydra will try to give a response.
2023-09-03 21:56:38 +02:00
sternenseemann
76dc153544 maintainers/haskell/hydra-report.hs: work around bulk status timeout
This change adds a flag --slow to hydra-report.sh get-report which
causes it to fetch the cheap evaluation overview endpoint (which only
contains build ids and meta data). The gathered information is then used
to request each build's status individually instead of in bulk which is
very slow, but useful as a last resort if the bulk endpoint times out.
2023-09-03 21:54:03 +02:00
sternenseemann
00b0824635 maintainers/haskell/hydra-report.hs: allow disabling log requesting
Since every failure in the jobset means one request to get the log when
generating the list of newly broken packages, we need to add an option
to disable log requesting in case a lot of new breakage needs to be
entered.
2023-09-03 21:39:04 +02:00
github-actions[bot]
658c5f1dcf
Merge master into haskell-updates 2023-08-14 00:11:47 +00:00
figsoda
90c4482d07 pluginupdate.py: format with black, fix comments 2023-08-12 11:41:04 -04:00
figsoda
32f6cfaae5 pluginupdate: don't rely on NIX_PATH
Nix does not respect `NIX_PATH` when the `nix-path` setting in nix.conf is set
2023-08-12 11:32:02 -04:00
Dennis Gosnell
6f41cccb9e
haskell: don't pin stack to version in LTS, but take the latest from hackage 2023-07-26 11:09:53 +09:00
Theodore Ni
ac69020750
treewide: remove unused nix-prefetch-github from shebangs 2023-07-18 18:16:17 -07:00
Donovan Glover
895d66d915 luaPackages.magick: init at 1.6.0 2023-07-18 22:56:44 +02:00
James Williams
9aabc9f7f3 nix-generate-from-cpan: generate SRI hashes 2023-07-16 15:43:23 +01:00
Sandro
198bd0a4a7
Merge pull request #239622 from corngood/dotnet-misc
dotnet: misc fixes
2023-06-28 23:41:18 +02:00
Sandro
5bf962a80e
Merge pull request #233505 from SuperSandro2000/check-hydra-by-maintainer-no-alias
maintainers/scripts/check-hydra-by-maintainer: don't check aliases
2023-06-27 18:13:32 +02:00
David McFarland
ee8ba995a7 buildDotnetModule: make fetch-deps find output path automatically 2023-06-24 19:13:16 -03:00
emilylange
756e89e6ef
maintainers/fix-maintainers.pl: ignore case
as this script would otherwise create a bunch of somewhat unnecessary/noisy renames that aren't "actual" renames
2023-06-04 16:26:25 +02:00
Sandro Jäckel
290820f2fa
maintainers/scripts/check-hydra-by-maintainer: remove pkgs.lib use 2023-05-22 23:28:53 +02:00
Sandro Jäckel
000000491e
maintainers/scripts/check-hydra-by-maintainer: don't check aliases 2023-05-22 23:28:51 +02:00
sternenseemann
6dcc0ab9b5 maintainers/haskell/merge-and-open-pr: only push haskell-updates
If we want to push only one branch, we'll have to specify branch and
remote explicitly. Pushing to origin doesn't work for everyone, since
some of us have a origin remote that can't be pushed to. Using plain
`git push` has the problem that it'll try pushing all checked out
branchs which fails e.g. if some branches (staging, staging-next, …) are
behind their remote counterparts.

The solution is to require everyone to configure a per branch pushRemote
for haskell-updates which will then be used by merge-and-open-pr.sh.
2023-05-19 16:33:56 +02:00
Arnout Engelen
0374d7897c
Merge pull request #223261 from xworld21/copy-tarballs-use-all-urls
copy-tarballs: use all the urls of each file
2023-05-11 16:20:07 +02:00