Loading pkgs/by-name/ze/zed-editor/package.nix +19 −11 Original line number Diff line number Diff line Loading @@ -34,6 +34,8 @@ git, apple-sdk_15, darwinMinVersionHook, makeWrapper, nodePackages_latest, withGLES ? false, }: Loading Loading @@ -138,7 +140,8 @@ rustPlatform.buildRustPackage rec { }; }; nativeBuildInputs = [ nativeBuildInputs = [ clang cmake copyDesktopItems Loading @@ -148,7 +151,9 @@ rustPlatform.buildRustPackage rec { protobuf rustPlatform.bindgenHook cargo-about ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cargo-bundle ]; ] ++ lib.optionals stdenv.hostPlatform.isLinux [ makeWrapper ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cargo-bundle ]; dontUseCmakeConfigure = true; Loading Loading @@ -215,6 +220,9 @@ rustPlatform.buildRustPackage rec { postFixup = lib.optionalString stdenv.hostPlatform.isLinux '' patchelf --add-rpath ${gpu-lib}/lib $out/libexec/* patchelf --add-rpath ${wayland}/lib $out/libexec/* wrapProgram $out/libexec/zed-editor --suffix PATH : ${ lib.makeBinPath [ nodePackages_latest.nodejs ] } ''; preCheck = '' Loading Loading
pkgs/by-name/ze/zed-editor/package.nix +19 −11 Original line number Diff line number Diff line Loading @@ -34,6 +34,8 @@ git, apple-sdk_15, darwinMinVersionHook, makeWrapper, nodePackages_latest, withGLES ? false, }: Loading Loading @@ -138,7 +140,8 @@ rustPlatform.buildRustPackage rec { }; }; nativeBuildInputs = [ nativeBuildInputs = [ clang cmake copyDesktopItems Loading @@ -148,7 +151,9 @@ rustPlatform.buildRustPackage rec { protobuf rustPlatform.bindgenHook cargo-about ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cargo-bundle ]; ] ++ lib.optionals stdenv.hostPlatform.isLinux [ makeWrapper ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cargo-bundle ]; dontUseCmakeConfigure = true; Loading Loading @@ -215,6 +220,9 @@ rustPlatform.buildRustPackage rec { postFixup = lib.optionalString stdenv.hostPlatform.isLinux '' patchelf --add-rpath ${gpu-lib}/lib $out/libexec/* patchelf --add-rpath ${wayland}/lib $out/libexec/* wrapProgram $out/libexec/zed-editor --suffix PATH : ${ lib.makeBinPath [ nodePackages_latest.nodejs ] } ''; preCheck = '' Loading