Commit Graph
556583 Commits
Author SHA1 Message Date
Silvan Mosberger 413dd9c03e tests.nixpkgs-check-by-name: Minor improvements from review 2023-12-15 01:02:49 +01:00
Silvan Mosberger 53b43ce0e3 tests.nixpkgs-check-by-name: Fix and document behavior without --base
Previously, not passing `--base` would enforce the most strict checks.
While there's currently no actual violation of these stricter checks,
this does not match the previous behavior.

This won't matter once CI passes `--base`, the code handling the
optionality can be removed then.
2023-12-15 01:01:14 +01:00
Silvan Mosberger bb08bfc2d3 tests.nixpkgs-check-by-name: Test for gradual transition
This implements the ability to test gradual transitions in check
strictness, and adds one such test for the empty non-auto-called
arguments check.
2023-12-14 04:05:03 +01:00
Silvan Mosberger d487a975cc tests.nixpkgs-check-by-name: Gradual migration from base Nixpkgs
This implements the option for a gradual migration to stricter checks.
For now this is only done for the check against empty non-auto-called
callPackage arguments, but in the future this can be used to ensure all
new packages make use of `pkgs/by-name`.

This is implemented by adding a `--base <BASE_NIXPKGS>` flag, which then
compares the base nixpkgs against the main nixpkgs version, making sure
that there are no regressions.

The `--version` flag is removed. While it was implemented, it was never
used in CI, so this is fine.
2023-12-14 03:51:10 +01:00
Silvan Mosberger a6ba4cae31 tests.nixpkgs-check-by-name: Intermediate refactor
This prepares the code base for the removal of the `--version` flag, to
be replaced with a flag that can specify a base version to compare the
main Nixpkgs against, in order to have gradual transitions to stricter
checks.

This refactoring does:
- Introduce the `version` module that can house the logic to increase
  strictness, with a `version::Nixpkgs` struct that contains the
  strictness conformity of a single Nixpkgs version
- Make the check return `version::Nixpkgs`
- Handle the behavior of the still-existing `--version` flag with `version::Nixpkgs`
- Introduce an intermediate `process` function to handle the top-level
  logic, especially useful in the next commit
2023-12-14 03:40:49 +01:00
Silvan Mosberger e98d22851b tests.nixpkgs-check-by-name: Introduce result_map
Convenience function to run another validation over a successful validation result.

This will be usable in more locations in future commits, making the code
nicer.
2023-12-14 03:21:41 +01:00
Silvan Mosberger b8e4d555b4 tests.nixpkgs-check-by-name: Minor refactor, allow more simultaneous problems
This makes it such that these two errors can both be thrown for a single
package:
- The attribute value not being a derivation
- The attribute not being a proper callPackage

The tests had to be adjusted to only throw the error they were testing
for
2023-12-14 03:13:36 +01:00
Doron BeharandGitHub 6a937597be Merge pull request #272313 from r-ryantm/auto-update/libsForQt5.qtutilities
libsForQt5.qtutilities: 6.13.2 -> 6.13.3
2023-12-05 21:34:13 +00:00
Pol DellaieraandGitHub fd33c0a3bc Merge pull request #272339 from drupol/php/box/bump-4-5-1
phpPackages.box: 4.5.0 -> 4.5.1
2023-12-05 22:31:37 +01:00
SandroandGitHub 04b28d5c69 discourse: stop redis (#244037) 2023-12-05 22:27:26 +01:00
José Romildo MalaquiasandGitHub b1cea2ed03 Merge pull request #272262 from bobby285271/upd/xfce
xfce.xfce4-cpugraph-plugin: 1.2.8 -> 1.2.10
2023-12-05 18:11:04 -03:00
Robert HensingandGitHub 6f8b4fb356 Merge pull request #272307 from hercules-ci/update-ec2-create-amis.sh
scripts/create-amis.sh: Update region list
2023-12-05 22:08:47 +01:00
Lily FosterandMatthieu Coudron b5ca84b450 npmHooks.npmInstallHook: only overwrite npm cache for npm pack rather than for entire hook 2023-12-05 21:53:59 +01:00
Pol Dellaiera b8bf2d1f0d phpPackages.box: 4.5.0 -> 4.5.1 2023-12-05 21:23:55 +01:00
Pol DellaieraandGitHub 3bc050455c Merge pull request #272286 from gaelreyrol/symfony-cli-update-5.7.4
symfony-cli: 5.7.3 -> 5.7.4
2023-12-05 21:12:53 +01:00
Fabian AffolterandGitHub d08d9057e4 Merge pull request #272180 from r-ryantm/auto-update/python310Packages.pyomo
python310Packages.pyomo: 6.6.2 -> 6.7.0
2023-12-05 21:01:42 +01:00
Fabian AffolterandGitHub abab769af9 Merge pull request #272287 from fabaff/habluetooth-bump
python311Packages.habluetooth: 0.5.1 -> 0.6.1
2023-12-05 21:01:29 +01:00
Fabian AffolterandGitHub 8c96b915a3 Merge pull request #272284 from fabaff/dvc-render-bump
python311Packages.dvc-render: 0.6.0 -> 1.0.0
2023-12-05 21:01:19 +01:00
Felix BühlerandGitHub 95baebec73 Merge pull request #272233 from r-ryantm/auto-update/mediaelch
mediaelch: 2.10.4 -> 2.10.6
2023-12-05 20:57:47 +01:00
Thomas GerbetandGitHub fa2ab930dd Merge pull request #272280 from Misaka13514/bump-fscan
fscan: 1.8.3 -> 1.8.3-build3
2023-12-05 20:54:36 +01:00
Connor BakerandGitHub ec3c8084ec Merge pull request #272063 from SomeoneSerge/fix/cuda-upkeep
cudaPackages: drop some runfile dependencies and fix a few builds
2023-12-05 14:40:13 -05:00
Lily FosterandGitHub 63fabdebd0 Merge pull request #267912 from reinismu/fetch-npm-deps-fix-bug
prefetch-npm-deps: add support for npm alias schema in version spec
2023-12-05 14:39:04 -05:00
Someone Serge 18a2e518cd tiny-cuda-nn: prune runtime closure 2023-12-05 19:24:37 +00:00
Someone Serge b9635cfa4d tiny-cuda-nn: cuda_cccl required with the newer cuda 2023-12-05 19:24:37 +00:00
Someone Serge 37ec2cb6b1 cudaPackages.setupCudaHook: source only from nativeBuildInputs 2023-12-05 19:24:37 +00:00
Someone Serge d031523a01 cudaPackages.cuda_nvcc: fix hook's offsets (-1, -1) -> (-1, 0)
Cf. explanations in https://github.com/NixOS/nixpkgs/pull/271078
2023-12-05 19:24:37 +00:00
Someone Serge e084a6c648 cudaPackages_11_3.saxpy: fallback to the cudatoolkit runfile 2023-12-05 19:24:37 +00:00
Someone Serge 182e6b41d0 cudaPackages.setupCudaHook: rewrite cudartFlags, remove infinite recursion in cudatoolkit
We don't need to add the extra nvcc flags to locate cudart when using
cudatoolkit because it comes in the merged layout and nvcc doesn't have
any trouble locating dependencies in the same prefix
2023-12-05 19:24:36 +00:00
Someone Serge a7891f2ada cudaPackages.setupCudaHook: fix cudart flags 2023-12-05 19:24:36 +00:00
piegamesandGitHub 96482988bd Merge pull request #270321: gnomeExtensions.unite: 72 -> 77 2023-12-05 20:17:41 +01:00
Pol DellaieraandGitHub 99faeebe0c Merge pull request #272283 from drupol/add-meta-mainprogram
meta.mainPrograms: add missing attribute
2023-12-05 19:39:57 +01:00
Behrad JafariandGitHub 44a8d8f045 interception-tools-plugins: Add recurseIntoAttrs
Makes the plugins be built by Hydra and listed on search.nixos.org
2023-12-05 19:08:42 +01:00
R. Ryantm d1964e1d2c libsForQt5.qtutilities: 6.13.2 -> 6.13.3 2023-12-05 18:04:53 +00:00
Robert HensingandGitHub 4c37153a2c Merge pull request #271241 from pbsds/finalattrs-docheck
treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
2023-12-05 18:59:02 +01:00
Robert Hensing 4d1f62836e scripts/create-amis.sh: Update region list 2023-12-05 18:30:52 +01:00
Patryk KwiatekandGitHub b3caa5f50a ferretdb: 1.15.0 -> 1.16.0 (#272254) 2023-12-05 18:23:31 +01:00
Thiago Kenji OkadaandGitHub bed09b735f Merge pull request #226923 from Drakonis/prometheus/agent-mode
nixos/prometheus: add `enableAgentMode` option
2023-12-05 17:17:37 +00:00
Peder Bergebakken SundtandGitHub 7cb7b7f98d Merge pull request #266635 from katexochen/dnf4-init
dnf4: init at 4.18.1
2023-12-05 17:55:57 +01:00
Peder Bergebakken SundtandGitHub fae7198d73 Merge pull request #270468 from pbsds/spadelang
spade: init at 0.5.0
2023-12-05 17:30:51 +01:00
ArtturiandGitHub 4b21d11c50 Merge pull request #272226 from rollf/fix-corretto-meta.position 2023-12-05 18:05:19 +02:00
Weijia WangandVincent Laporte 7a5f0e9467 clp: unbreak on aarch64-linux 2023-12-05 16:54:45 +01:00
Fabian Affolter ca4fd33622 python311Packages.habluetooth: 0.5.1 -> 0.6.1
Diff: https://github.com/Bluetooth-Devices/habluetooth/compare/refs/tags/v0.5.1...v0.6.1

Changelog: https://github.com/Bluetooth-Devices/habluetooth/blob/0.6.1/CHANGELOG.md
2023-12-05 16:47:13 +01:00
Gaël Reyrol 2144d651ac symfony-cli: 5.7.3 -> 5.7.4 2023-12-05 16:44:44 +01:00
Fabian AffolterandGitHub 70475eb9dd Merge pull request #272188 from r-ryantm/auto-update/python310Packages.pytapo
python310Packages.pytapo: 3.3.16 -> 3.3.18
2023-12-05 16:41:30 +01:00
Pol Dellaiera 6644769897 phpPackages.psalm: add meta.mainProgram 2023-12-05 16:40:50 +01:00
Pol Dellaiera 254477deb4 phpPackages.grumphp: add meta.mainProgram 2023-12-05 16:40:48 +01:00
Pol Dellaiera fbb493629f phpPackages.composer: add meta.mainProgram 2023-12-05 16:40:46 +01:00
Pol Dellaiera ec05ba5b4e phpunit: add meta.mainProgram 2023-12-05 16:40:44 +01:00
Fabian AffolterandGitHub 9c67d60424 python310Packages.pyomo: update disabled 2023-12-05 16:37:32 +01:00
Fabian Affolter 46b647b9e1 python311Packages.dvc-render: 0.6.0 -> 1.0.0
Diff: https://github.com/iterative/dvc-render/compare/refs/tags/0.6.0...1.0.0

Changelog: https://github.com/iterative/dvc-render/releases/tag/1.0.0
2023-12-05 16:36:33 +01:00