This commit is contained in:
mjallen18
2026-03-04 13:43:18 -06:00
parent 5f79421d9e
commit d17d096a97
6 changed files with 487 additions and 150 deletions

View File

@@ -21,6 +21,8 @@ let
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources selected;
# cargoHash is stored alongside the source in version.json so the TUI can update it
cargoHash = selected.sources.librepods.cargoHash;
in
rustPlatform.buildRustPackage rec {
pname = "librepods";
@@ -30,7 +32,7 @@ rustPlatform.buildRustPackage rec {
sourceRoot = "${src.name}/linux-rust";
cargoHash = "sha256-Ebqx+UU2tdygvqvDGjBSxbkmPnkR47/yL3sCVWo54CU=";
inherit cargoHash;
nativeBuildInputs = [
pkg-config