fix: avoid Cargo metadata IFD

This commit is contained in:
2026-09-11 09:19:03 +00:00
parent 572133a941
commit 37bd69e90e
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ in {
else throw (envErrorMessage varName); else throw (envErrorMessage varName);
# -- Cargo.toml -- # -- Cargo.toml --
cargoToml = src: (builtins.fromTOML (builtins.readFile "${src}/Cargo.toml")); cargoToml = manifest: (builtins.fromTOML (builtins.readFile manifest));
# Consolidated SQL bundles for the `hectic` schema. Single source of truth # Consolidated SQL bundles for the `hectic` schema. Single source of truth
# for everything that creates objects in the `hectic` namespace, used by # for everything that creates objects in the `hectic` namespace, used by
+1 -1
View File
@@ -5,7 +5,7 @@
... ...
}: let }: let
src = ./.; src = ./.;
cargo = cargoToml src; cargo = cargoToml ./Cargo.toml;
in in
pkgs.rustPlatform.buildRustPackage { pkgs.rustPlatform.buildRustPackage {
pname = cargo.package.name; pname = cargo.package.name;
+1 -1
View File
@@ -6,7 +6,7 @@
... ...
}: let }: let
src = ./.; src = ./.;
cargo = cargoToml src; cargo = cargoToml ./Cargo.toml;
in in
pkgs.rustPlatform.buildRustPackage { pkgs.rustPlatform.buildRustPackage {
pname = cargo.package.name; pname = cargo.package.name;
+1 -1
View File
@@ -5,7 +5,7 @@
... ...
}: let }: let
src = ./.; src = ./.;
cargo = cargoToml src; cargo = cargoToml ./Cargo.toml;
in in
pkgs.rustPlatform.buildRustPackage { pkgs.rustPlatform.buildRustPackage {
pname = cargo.package.name; pname = cargo.package.name;