Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

nix: Resolve 'hostPlatform' rename warning in dev shell (#45045)

AidanV83de583fb1f8
diff --git a/flake.nix b/flake.nix
index fe7a09701be..744ca708a3a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -37,14 +37,14 @@
rustToolchain = rustBin.fromRustupToolchainFile ./rust-toolchain.toml;
};
in
- rec {
+ {
packages = forAllSystems (pkgs: rec {
default = mkZed pkgs;
debug = default.override { profile = "dev"; };
});
devShells = forAllSystems (pkgs: {
default = pkgs.callPackage ./nix/shell.nix {
- zed-editor = packages.${pkgs.hostPlatform.system}.default;
+ zed-editor = mkZed pkgs;
};
});
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);