Commit Graph

17 Commits

Author SHA1 Message Date
R. Ryantm
c43594d6be zram-generator: 1.1.2 -> 1.1.2 2024-02-22 08:08:14 +00:00
R. Ryantm
43fbd0bac9 zram-generator: 1.1.2 -> 1.1.2 2024-02-07 20:46:11 +00:00
R. Ryantm
3580182393 zram-generator: 1.1.2 -> 1.1.2 2024-02-04 16:04:06 +00:00
R. Ryantm
25f3c677f5 zram-generator: 1.1.2 -> 1.1.2 2024-02-01 13:24:06 +00:00
R. Ryantm
79bfd335bd zram-generator: 1.1.2 -> 1.1.2 2024-01-25 00:49:27 +00:00
R. Ryantm
f30bc4f279 zram-generator: 1.1.2 -> 1.1.2 2024-01-18 18:37:01 +00:00
R. Ryantm
14ff141bdd zram-generator: 1.1.2 -> 1.1.2 2024-01-06 07:30:40 +00:00
R. Ryantm
cfe70ef7c6 zram-generator: 1.1.2 -> 1.1.2 2023-12-31 02:49:43 +00:00
R. Ryantm
3b7c612749 zram-generator: 1.1.2 -> 1.1.2 2023-12-10 13:35:36 +00:00
Nick Cao
dd36daf5b5
Merge pull request #267958 from r-ryantm/auto-update/zram-generator
zram-generator: 1.1.2 -> 1.1.2
2023-11-18 13:25:19 -05:00
R. Ryantm
f38e4dad9f zram-generator: 1.1.2 -> 1.1.2 2023-11-16 20:50:30 +00: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
ef5105b9c8 zram-generator: 1.1.2 -> 1.1.2 2023-10-24 08:44:32 +00:00
Nick Cao
e6596c17d9
zram-generator: use buildRustPackage instead of stdenv.mkDerivation
upstream Makefile lacks the required cargo flags to make cross
compilation work
2023-02-14 18:18:06 +08:00
Nick Cao
4ed5e94f9d
zram-generator: add updateScript 2023-02-02 11:04:03 +08:00
Henri Menke
0cfc7e63a6
nixos/zram-generator: add test 2023-01-31 20:18:18 +08:00
Nick Cao
0843eda5ed
zram-generator: init at 1.1.2 2023-01-31 20:14:43 +08:00