Move Rust tools into a common directory

This commit is contained in:
Julian Stecklina 2022-11-22 01:53:40 +01:00
parent b4f670455a
commit f40199b7aa
11 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
];
};
rust-nightly = pkgs.rust-bin.fromRustupToolchainFile ./rust/rust-toolchain.toml;
rust-nightly = pkgs.rust-bin.fromRustupToolchainFile ./rust/lanzaboote/rust-toolchain.toml;
naersk-stable = pkgs.callPackage naersk {};
naersk-nightly = pkgs.callPackage naersk {
@ -58,14 +58,14 @@
'';
lanzaboote = naersk-nightly.buildPackage {
src = ./rust;
src = ./rust/lanzaboote;
cargoBuildOptions = old: old ++ [
"--target x86_64-unknown-uefi"
];
};
lanzatool = naersk-stable.buildPackage {
src = ./lanzatool;
src = ./rust/lanzatool;
};
osrel = pkgs.writeText "lanzaboote-osrel" ''