nix: Correctly handle commitSha == null in nix devshell (#51319)
Release Notes: - N/A
This commit is contained in:
1 parent
2a54d21219
commit
abb29dbe62
1 file changed
+1
-1
+1
-1
@@ -224,7 +224,7 @@ let
|
||||
};
|
||||
ZED_UPDATE_EXPLANATION = "Zed has been installed using Nix. Auto-updates have thus been disabled.";
|
||||
RELEASE_VERSION = version;
|
||||
ZED_COMMIT_SHA = commitSha;
|
||||
ZED_COMMIT_SHA = lib.optionalString (commitSha != null) "${commitSha}";
|
||||
LK_CUSTOM_WEBRTC = pkgs.callPackage ./livekit-libwebrtc/package.nix { };
|
||||
PROTOC = "${protobuf}/bin/protoc";
|
||||
|
||||
|
||||
Reference in new issue
Block a user