manual_inherit

This commit is contained in:
mjallen18
2026-04-05 19:10:23 -05:00
parent a363622659
commit ff469102ea
84 changed files with 248 additions and 329 deletions

View File

@@ -21,14 +21,13 @@
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
inherit lib;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
# cargoHash is stored alongside the source in version.json so the TUI can update it
inherit (stdenv.hostPlatform) system;
cargoHash = selected.sources.librepods.cargoHash;
system = stdenv.hostPlatform.system;
in
rustPlatform.buildRustPackage rec {
pname = "librepods";