diff --git a/flake.nix b/flake.nix index c62878e..5d01d01 100644 --- a/flake.nix +++ b/flake.nix @@ -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