Commit Graph

33 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
005cec5388 cargo-watch: 8.5.1 -> 8.5.2 2024-01-19 18:19:45 +00:00
R. Ryantm
e66f41cf24 cargo-watch: 8.4.1 -> 8.5.1 2024-01-05 05:07:21 +00:00
Simon Žlender
c4e7af7473 cargo-watch: fix build on darwin 2023-11-24 22:06:42 +01:00
Alyssa Ross
e3e57b8f18 lib.systems: elaborate Rust metadata
We need this stuff to be available in lib so make-derivation.nix can
access it to construct the Meson cross file.

This has a couple of other advantages:

 - It makes Rust less special.  Now figuring out what Rust calls a
   platform is the same as figuring out what Linux or QEMU call it.

 - We can unify the schema used to define Rust targets, and the schema
   used to access those values later.  Just like you can set "config"
   or "system" in a platform definition, and then access those same
   keys on the elaborated platform, you can now set "rustcTarget" in
   your crossSystem, and then access "stdenv.hostPlatform.rustcTarget"
   in your code.

"rustcTarget", "rustcTargetSpec", "cargoShortTarget", and
"cargoEnvVarTarget" have the "rustc" and "cargo" prefixes because
these are not exposed to code by the compiler, and are not
standardized.  The arch/os/etc. variables are all named to match the
forms in the Rust target spec JSON.

The new rust.target-family only takes a list, since we don't need to
worry about backwards compatibility when that name is used.

The old APIs are all still functional with no warning for now, so that
it's possible for external code to use a single API on both 23.05 and
23.11.  We can introduce the warnings once 23.05 is EOL, and make them
hard errors when 23.11 is EOL.
2023-11-09 10:02:24 +01:00
R. Ryantm
d43b98dcd7 cargo-watch: 8.4.0 -> 8.4.1 2023-09-06 15:58:37 +00:00
Matthias Beyer
3d1703e576
treewide: add matthiasbeyer to a bunch of packages (#248566) 2023-08-11 18:41:21 -04:00
Theodore Ni
99063868c3
cargo-watch: update the homepage link 2023-06-11 12:20:41 -07:00
R. Ryantm
3a6307ccda cargo-watch: 8.3.0 -> 8.4.0 2023-02-21 14:34:16 +00:00
Theodore Ni
591cb87560
cargo-watch: fix darwin build
Since version 8.2.0, cargo-watch pulls in mac-notification-sys version
(through notify-rust) that requires Cocoa.
2023-01-27 20:51:26 -08:00
R. Ryantm
d3b25c422a cargo-watch: 8.1.2 -> 8.3.0 2023-01-14 07:31:10 +00:00
R. Ryantm
92c15d9fda cargo-watch: 8.1.1 -> 8.1.2 2021-12-06 08:04:37 +00:00
R. RyanTM
b45b1d6439 cargo-watch: 8.1.0 -> 8.1.1 2021-09-22 18:28:06 +00:00
R. RyanTM
81d51629fd cargo-watch: 8.0.0 -> 8.1.0 2021-09-22 02:22:44 +00:00
David Armstrong Lewis
d855d4cccc cargo-watch: fix build on darwin 2021-08-14 20:56:52 +09:00
R. RyanTM
c5b20238a3 cargo-watch: 7.8.1 -> 8.0.0 2021-07-31 09:54:00 +00:00
R. RyanTM
459c95b6a7 cargo-watch: 7.8.0 -> 7.8.1 2021-07-22 10:09:15 -07:00
R. RyanTM
17bbfcccd3 cargo-watch: 7.7.2 -> 7.8.0 2021-05-07 01:35:07 +00:00
Mario Rodas
9bb5324418 cargo-watch: fix build on darwin 2021-05-05 04:20:00 +00:00
R. RyanTM
ca608e32ab cargo-watch: 7.6.1 -> 7.7.2 2021-05-01 01:57:10 +00:00
R. RyanTM
33e6a731e4 cargo-watch: 7.5.1 -> 7.6.1 2021-03-30 09:28:30 +00:00
R. RyanTM
f19c6949b9 cargo-watch: 7.5.0 -> 7.5.1 2021-03-15 12:50:00 -04:00
zowoq
473536e3b5 buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
Maximilian Bosch
67a1c36929
cargo-watch: 7.4.1 -> 7.5.0
https://github.com/passcod/cargo-watch/releases/tag/v7.5.0

Also fixes the `aarch64`-build: https://hydra.nixos.org/build/123187262
2020-07-04 23:13:30 +02:00
R. RyanTM
264f85658e cargo-watch: 7.4.0 -> 7.4.1 2020-06-09 10:03:55 +00:00
R. RyanTM
efdab4bc6c cargo-watch: 7.3.0 -> 7.4.0 2020-06-06 04:03:24 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Benjamin Hipple
0f5520dc02 cargo-watch: upgrade cargo fetcher and cargoSha256 2020-02-29 12:10:09 -05:00
Benjamin Hipple
eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00
xrelkd
d066e14fb6 cargo-watch: 7.2.2 -> 7.3.0 2019-11-22 23:47:24 +08:00
xrelkd
f85d359ce7 cargo-watch: 7.2.1 -> 7.2.2 2019-10-30 16:47:28 +08:00
Ivan Kozik
78d1b2d29e cargo-watch: enable for darwin 2019-09-01 09:45:02 +00:00
xrelkd
18508dcb6a cargo-watch: init at 7.2.1 2019-08-31 14:47:01 +08:00