refactor: rename derivation binding (crate -> bin)
This commit is contained in:
parent
8553f5efd9
commit
f05eb164cd
1 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@
|
|||
cargoToml = fromTOML (builtins.readFile "${src}/Cargo.toml");
|
||||
name = cargoToml.package.name;
|
||||
|
||||
crate = pkgs.rustPlatform.buildRustPackage {
|
||||
bin = pkgs.rustPlatform.buildRustPackage {
|
||||
inherit name src;
|
||||
|
||||
cargoLock.lockFile = "${src}/Cargo.lock";
|
||||
|
|
@ -33,10 +33,10 @@
|
|||
};
|
||||
in
|
||||
{
|
||||
packages.default = crate;
|
||||
packages.default = bin;
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
inputsFrom = [ crate ];
|
||||
inputsFrom = [ bin ];
|
||||
|
||||
packages = with pkgs; [
|
||||
rustc
|
||||
|
|
|
|||
Loading…
Reference in a new issue