mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-24 05:25:18 +00:00
Quality-of-life improvement for us Nix users - Zed built via `nix build` will now correctly the git commit sha in its version <img width="433" height="298" alt="image" src="https://github.com/user-attachments/assets/b940ee4a-6914-4410-ba20-b50391282a4e" /> Release Notes: - N/A
10 lines
267 B
Nix
10 lines
267 B
Nix
{ inputs, ... }:
|
|
pkgs:
|
|
let
|
|
rustBin = inputs.rust-overlay.lib.mkRustBin { } pkgs;
|
|
in
|
|
pkgs.callPackage ./build.nix {
|
|
crane = inputs.crane.mkLib pkgs;
|
|
rustToolchain = rustBin.fromRustupToolchainFile ../rust-toolchain.toml;
|
|
commitSha = inputs.self.rev or null;
|
|
}
|