Commit Graph

4363 Commits

Author SHA1 Message Date
K900
17cda7ed37 Merge remote-tracking branch 'origin/master' into staging-next 2025-05-02 06:35:09 +03:00
R. Ryantm
94db177abd cargo-edit: 0.13.2 -> 0.13.3 2025-05-01 06:44:40 +00:00
nixpkgs-ci[bot]
c376a565f9 Merge staging-next into staging 2025-04-24 18:04:57 +00:00
Jörg Thalheim
a7c9c8c8cc rustup: refactor (#400028) 2025-04-24 15:56:28 +02:00
Acid Bong
c244ac2560 rustup: set meta.mainProgram = "rustup" 2025-04-23 19:55:23 +03:00
Acid Bong
3de1a5cf59 rustup: remove unnecessary conditions for some envvars 2025-04-23 19:55:23 +03:00
Acid Bong
8201236c73 rustup: use writableTmpDirAsHomeHook 2025-04-23 19:55:23 +03:00
Acid Bong
bbad8bd32c rustup: allow generating completions in cross-building 2025-04-23 19:55:23 +03:00
Acid Bong
5562972b27 rustup: remove unused override, use both curl and openssl
- the override did nothing to curl
- openssl was implicitly linked against (due to being in curl's
  pkgconfig file)
- and I put openssl before curl, so only it could be overridden
2025-04-23 19:52:50 +03:00
K900
e22856305b Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-21 21:18:16 +03:00
awwpotato
fd8bf4519b treewide: move to by-name 2025-04-21 09:02:01 -07:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Acid Bong
ded7bd6eec rustup: replace rec with finalAttrs 2025-04-19 12:22:15 +03:00
Acid Bong
d3d46e1996 rustup: use tag and hash in the fetcher 2025-04-19 12:11:57 +03:00
Acid Bong
fe282930f4 rustup: remove with lib; 2025-04-19 12:08:38 +03:00
R. Ryantm
ed742c78a0 sqlx-cli: 0.8.3 -> 0.8.5 2025-04-18 04:42:01 +00:00
emaryn
6441a16a24 cargo-vet: refactor 2025-04-17 22:56:43 +08:00
emaryn
422b986bc3 cargo-vet: 0.8.0 -> 0.10.1 2025-04-17 22:52:39 +08:00
Dan Sully
39c14792ab cargo-clone: add zlib to build inputs 2025-04-13 09:13:59 -07:00
Vladimír Čunát
a61952af35 staging-next 2025-04-03 (#395862) 2025-04-13 16:07:22 +02:00
Diogo Correia
a628ad3c79 buildPgrxExtension: add missing doc of usePgTestCheckFeature and fix typo 2025-04-13 12:41:48 +01:00
Diogo Correia
3a0d4ae3a5 buildPgrxExtension: restructure with lib.extendMkDerivation
Support fixed-point arguments with lib.extendMkDerivation
2025-04-13 12:41:41 +01:00
nixpkgs-ci[bot]
dd73af1130 Merge master into staging-next 2025-04-12 18:04:18 +00:00
R. Ryantm
45c59baded cargo-crev: 0.26.3 -> 0.26.4 2025-04-12 14:21:08 +00:00
nixpkgs-ci[bot]
568e990505 Merge master into staging-next 2025-04-12 00:15:26 +00:00
R. Ryantm
d5ae935953 cargo-codspeed: 2.10.0 -> 2.10.1 2025-04-11 21:12:03 +00:00
K900
f42e00d66e Merge remote-tracking branch 'origin/master' into staging-next 2025-04-08 10:29:26 +03:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
K900
b3146d4446 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-07 21:21:10 +03:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
e52d633a63 Merge remote-tracking branch 'upstream/staging-next' into staging 2025-04-02 18:30:54 +02:00
Nick Cao
5b964e3949 cargo-codspeed: 2.9.1 -> 2.10.0 (#395278) 2025-04-01 17:52:27 -04:00
R. Ryantm
7704c34c04 cargo-codspeed: 2.9.1 -> 2.10.0 2025-04-01 20:27:59 +00:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
K900
a6d5666400 Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-01 08:39:50 +03:00
Adam Rizkalla
61440cf18e humility: unstable-2023-11-08-> 0-unstable-2025-02-25 (#394104)
* update humility to 2025-02-25

Signed-off-by: Adam Rizkalla <adam@saronic.com>
Co-authored-by: Arne Keller <arne.keller@posteo.de>
2025-03-31 17:01:42 +02:00
Maximilian Bosch
806f02ed2f Merge: postgresqlPackages.pgvectorscale: init at 0.7.0, buildPgrxExtension: support cargo workspaces (#393689) 2025-03-31 16:54:47 +02:00
nixpkgs-ci[bot]
66681a870f Merge staging-next into staging 2025-03-28 18:06:07 +00:00
Aleksana
fae9d587a8 various: remove davidtwco as package maintainer (#392726) 2025-03-28 22:47:38 +08:00
nixpkgs-ci[bot]
3ed34914ea Merge staging-next into staging 2025-03-28 00:15:57 +00:00
Yt
5dd798bef7 buildPgrxExtension: mark packages as broken on darwin (#392868) 2025-03-27 19:29:28 -04:00
Wolfgang Walther
6c13b31afd buildPgrxExtension: mark packages as broken on darwin
Because of [1], we can't run initdb / postgres inside the darwin
sandbox, even though it succeeds most of the time. It will lead to hard
to debug build failures eventually.

Since pgrx runs initdb as part of the build... there seems to be no
other way than marking those packages as broken for now. This could be
relaxed once [2] is available, because we could then disable the
checkPhase and all "initdb" for pgrx on darwin.

[1]:
https://github.com/NixOS/nixpkgs/issues/371242#issuecomment-2672697582
[2]: https://github.com/pgcentralfoundation/pgrx/pull/1994
2025-03-27 20:56:56 +01:00
Maximilian Bosch
b9f0161238 buildPgrxExtension: enable building workspaces
Doing

    cargoBuildFlags = [ "-p" "foo" ]

doesn't work here since this gets only passed to PGRX_BUILD_FLAGS which
in turn is used by `cargo build`.

This means that pgrx itself doesn't know of the workspace setup and
fails with

    Error:
    0: Couldn't get manifest path
    1: `pgrx` requires a root package in a workspace when `--package` is not specified.

This patch introduces another flag called `cargoPgrxFlags` to do the
right thing, i.e. to pass this to each pgrx invocation.

Using `cargoBuildFlags` is not reasonable here since `cargo build`
accepts flags that may not be valid when invoking `cargo pgrx` (e.g. `-r`).
2025-03-26 14:44:33 +01:00
K900
aca918e668 Merge remote-tracking branch 'origin/staging-next' into staging 2025-03-25 21:06:52 +03:00
jopejoe1
7d30c40939 treewide: migrate packages to pkgs/by-name, again 2025-03-25 17:00:45 +01:00
David Wood
7890f1e8cb rustup-toolchain-install-master: remove davidtwco as maintainer 2025-03-24 14:34:36 +00:00
Wolfgang Walther
88dfade94b postgresql: replace pg_config with custom script
By replacing upstream's pg_config binary with a shell script, we:
- gain the ability to run pg_config easily when cross-compiling,
- can remove the fake pg_config in the default output,
- can remove the pg_config wrapper script dealing with special cases.

Some 20 years ago, pg_config *was* a shell script upstream, too. It was
changed to a binary, when it was made "relocatable", so it would return
paths depending on the location of the "postgres" binary. However, this
is exactly the thing that just hurts us in nixpkgs - we don't want those
paths to change, we want them to always point at the right outputs. By
writing the script ourselves, this becomes a lot less painful.

This approach means more lines of codes, but all of them are dead simple
and we have a lot less complexity overall.

Additionally, pg_config is now made a separate derivation, only exposed
as "postgresql.pg_config". This has the nice side-effect, that all users
of postgresql and libpq in nixpkgs must be very *explicit* about their
dependency on pg_config. This gives a lot more visibility into the state
of affairs regarding pkg-config support for libpq, which ultimately is
the much better solution.
2025-03-21 18:05:38 +01:00
satler
3fda177a8a cargo-codspeed: 2.4.0 -> 2.9.1 2025-03-20 13:15:30 +09:00
R. Ryantm
3184435a93 cargo-edit: 0.13.1 -> 0.13.2 2025-03-19 00:03:38 +05:30
Karl Ericsson
39b360abb9 cargo-outdated: 0.16.0 -> 0.17.0
Switch to fetchFromGithub
Use new darwin SDK pattern
2025-03-17 01:09:28 +01:00