From f05eb164cd62e02d460eb91a58fc4741280b3c13 Mon Sep 17 00:00:00 2001 From: electria Date: Tue, 10 Nov 2026 13:45:53 -0800 Subject: [PATCH] refactor: rename derivation binding (crate -> bin) --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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