Point PROTOC to nixpkgs.protobuf pkg in shell.nix (#15931)
This fixes an issue on NixOS where Zed's proto crate fails to build. Cargo expects to find protoc in the Cargo registry, but due to the distro's non-standard filesystem this expectation is invalid. Release Notes: - N/A
This commit is contained in:
parent
e9ddca1075
commit
a5961c8d45
1 changed files with 1 additions and 0 deletions
|
@ -52,5 +52,6 @@ else
|
||||||
"assets/fonts/zed-sans"
|
"assets/fonts/zed-sans"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
PROTOC = "${pkgs.protobuf}/bin/protoc";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue