Commit Graph

7 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
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
happysalada
bcbbfd86e0 edge-runtime: 1.10.0 -> 1.14.0 2023-09-04 22:31:19 +00:00
R. Ryantm
c26c708048 edge-runtime: 1.8.1 -> 1.10.0 2023-08-14 10:29:17 +08:00
R. Ryantm
96112a3ed5 edge-runtime: 1.7.2 -> 1.8.1 2023-08-02 13:05:20 +08:00
R. Ryantm
3641464f1c edge-runtime: 1.6.7 -> 1.7.2 2023-07-29 06:09:08 +00:00
happysalada
cb697b86b1 edge-runtime: init at 1.6.7 2023-07-14 11:26:32 +08:00