Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install zed-editor in macOS with nixpkgs #909

Closed
wants to merge 2 commits into from
Closed

Install zed-editor in macOS with nixpkgs #909

wants to merge 2 commits into from

Conversation

kachick
Copy link
Owner

@kachick kachick commented Nov 3, 2024

  • Install zed-editor in macOS via nixpkgs
  • Deactivate and backup notify action

Resolves GH-902

@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

Why vim-fish-completions takes much long time to build? 🤔 Or home-manager-applications is taking here?

macOS 15 runner

Sun, 03 Nov 2024 09:36:22 GMT
building '/nix/store/27d9vzssxs55hjccd0xl4syy2vzs5c87-wiggle-generate-24.0.1.drv'...
Sun, 03 Nov 2024 09:36:22 GMT
building '/nix/store/6c72vj3jvnmvyaalmf0krh2d44rjzqyn-wiggle-macro-24.0.1.drv'...
Sun, 03 Nov 2024 09:36:22 GMT
building '/nix/store/vvydw4b6lq74j8mz4csgr4ax810fasj7-xh-0.22.2-fish-completions.drv'...
Sun, 03 Nov 2024 09:36:23 GMT
building '/nix/store/8k74iws681x2kv0lx37r3xihrcn3wpa1-cargo-vendor-dir.drv'...
Sun, 03 Nov 2024 09:36:41 GMT
building '/nix/store/7zmk1zvhalxpf4171p1vikbb6zvdzw2q-yazi-0.2.5-fish-completions.drv'...
Sun, 03 Nov 2024 09:36:41 GMT
building '/nix/store/4n23wgmgx7w15qzg6gkmp4ms2zznsci0-zed-editor-0.159.7.drv'...
Sun, 03 Nov 2024 09:38:07 GMT
building '/nix/store/qr1p5bwmhganpcsg1zplrk3p65x7v05p-zellij-0.40.1-fish-completions.drv'...
Sun, 03 Nov 2024 09:38:34 GMT
building '/nix/store/a96ki9ln9h6fbxvkbffyi9iv6rd7p4jv-neovim-require-check-hook.drv'...
Sun, 03 Nov 2024 09:38:34 GMT
building '/nix/store/b6rb4kb9hwbf4c2qcp3y4qxpnd3wka7d-podman-desktop-1.13.2-fish-completions.drv'...
Sun, 03 Nov 2024 09:38:35 GMT
building '/nix/store/flg6a1jndv2y02lvf02dvcwqjd8hv3xw-vim-command-check-hook.drv'...
Sun, 03 Nov 2024 09:38:35 GMT
building '/nix/store/c37vv2qq2c9jj47sw70hr5hbq4awcigk-zj.drv'...
Sun, 03 Nov 2024 09:38:35 GMT
building '/nix/store/fzdjh25zzb34w2c8lc7sl38zl7jy2ryz-zoxide-0.9.4-fish-completions.drv'...
Sun, 03 Nov 2024 09:38:35 GMT
building '/nix/store/v7wsw5cngbi85dkl7j98wj10sdwbxyhj-vimplugin-kdl.vim-2023-02-20.drv'...
Sun, 03 Nov 2024 09:38:36 GMT
building '/nix/store/323g8bc27aw314n8cvmk30j3rb2hg23z-zj-fish-completions.drv'...
Sun, 03 Nov 2024 09:38:36 GMT
building '/nix/store/w3g4jrr5y01js01nrrx9dl9g8kpcawi0-zsh-5.9-fish-completions.drv'...
Sun, 03 Nov 2024 09:38:36 GMT
building '/nix/store/kscgp2iimamx32bdsxm0jnfws4l0xn1m-packdir-start.drv'...
Sun, 03 Nov 2024 09:38:36 GMT
building '/nix/store/djfa75451g53794cqi4ana5pb1xw5i3b-vim-pack-dir.drv'...
Sun, 03 Nov 2024 09:38:37 GMT
building '/nix/store/gnv1m45hj1h1if8sfxcf314rmg96g9a1-vimrc.drv'...
Sun, 03 Nov 2024 09:38:37 GMT
building '/nix/store/3csjxh44wv7kk6mf6fvyn2v5y52v6a8r-vim-bin.drv'...
Sun, 03 Nov 2024 09:38:39 GMT
building '/nix/store/pllli3nzy0w4g8kdlrdvb0b3g4lk8221-vim.drv'...
Sun, 03 Nov 2024 09:38:39 GMT
building '/nix/store/fidwn3cifjqvpgpcsxhhg8ardz89jl71-vim-fish-completions.drv'...
Sun, 03 Nov 2024 10:13:23 GMT
building '/nix/store/7mgs9bksm70343rxviyakc1pqlfh9vbz-home-manager-applications.drv'...
Sun, 03 Nov 2024 10:13:23 GMT
building '/nix/store/lkaaqnjy7dlsvprjkpmb99rcy5z12095-home-manager-fonts.drv'...
Sun, 03 Nov 2024 10:13:23 GMT
building '/nix/store/iyknkay1wmq9w7a2gd7gkqh2vdfswzhz-home-manager-path.drv'...
Sun, 03 Nov 2024 10:13:24 GMT
building '/nix/store/954l8xn2imkgp77nw6f9zvy51j4i8sc8-man-paths.drv'...
Sun, 03 Nov 2024 10:13:24 GMT
building '/nix/store/5mraj1c6gd9k98yz67z4pfjikya8ks8p-zed-editor-0.159.7-fish-completions.drv'...
Sun, 03 Nov 2024 10:13:24 GMT
building '/nix/store/30bqivalfyq0xycrmbfpfslcp9g18hcj-hm_LibraryFonts.homemanagerfontsversion.drv'...
Sun, 03 Nov 2024 10:13:25 GMT
building '/nix/store/8wn9517pdyqa9l5zp8v7rnyy4cgmlvy5-man-cache.drv'...
Sun, 03 Nov 2024 10:13:25 GMT
building '/nix/store/c0jgms4vydvh5avkmar3xvbw0hi9yfsw-activation-script.drv'...
Sun, 03 Nov 2024 10:13:25 GMT
building '/nix/store/chxm4fw9xnpmqr8105na6gfgx6crpxbn-runner-fish-completions.drv'...
Sun, 03 Nov 2024 10:13:47 GMT
building '/nix/store/kndssrbcwdrh0zdd4czyycn8xild95kz-hm_.manpath.drv'...
Sun, 03 Nov 2024 10:13:47 GMT
building '/nix/store/rh64kr57rajjqnljxm8nz9rj9gvahcn8-home-manager-files.drv'...
Sun, 03 Nov 2024 10:13:48 GMT
building '/nix/store/pcpnx6rzv5cza0khfk9bq0gxsy05pyc5-home-manager-generation.drv'...

@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

#846 (comment)

> nix run nixpkgs/nixos-unstable#hydra-check -- zed-editor --arch x86_64-linux
Build Status for nixpkgs.zed-editor.x86_64-linux on unstable
✔ zed-editor-0.159.7 from 2024-11-03 - https://hydra.nixos.org/build/277155257

> nix run nixpkgs/nixos-unstable#hydra-check -- zed-editor --arch x86_64-darwin
Build Status for nixpkgs.zed-editor.x86_64-darwin on unstable
⚠ This job is not a member of the latest evaluation of its jobset. This means it was removed or had an evaluation error.

> nix run nixpkgs/nixos-unstable#hydra-check -- helix --arch x86_64-darwin
Build Status for nixpkgs.helix.x86_64-darwin on unstable
⚠ This job is not a member of the latest evaluation of its jobset. This means it was removed or had an evaluation error.

> nix run nixpkgs/nixos-unstable#hydra-check -- gnugrep --arch x86_64-darwin
Build Status for nixpkgs.gnugrep.x86_64-darwin on unstable
✔ gnugrep-2.14 from 2013-03-26 - https://hydra.nixos.org/build/4495661

@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

image

🎯 dotfiles macos-zed(3621907) via 🐹 v1.23.1 📁🍃 ☃️  zsh
> nix run nixpkgs/nixos-unstable#hydra-check -- --arch x86_64-darwin --channel nixpkgs/trunk gnugrep
Build Status for gnugrep.x86_64-darwin on nixpkgs/trunk
✔ gnugrep-3.11 from 2024-10-31 - https://hydra.nixos.org/build/276707194

🎯 dotfiles macos-zed(3621907) via 🐹 v1.23.1 📁🍃 ☃️  zsh
> nix run nixpkgs/nixos-unstable#hydra-check -- --arch x86_64-darwin --channel nixpkgs/trunk helix
Build Status for helix.x86_64-darwin on nixpkgs/trunk
✔ helix-24.07 from 2024-10-31 - https://hydra.nixos.org/build/276818218

🎯 dotfiles macos-zed(3621907) via 🐹 v1.23.1 📁🍃 ☃️  zsh
> nix run nixpkgs/nixos-unstable#hydra-check -- --arch x86_64-darwin --channel nixpkgs/trunk zed-editor
Build Status for zed-editor.x86_64-darwin on nixpkgs/trunk
✖ (Cancelled) zed-editor-0.159.6 from 2024-11-02 - https://hydra.nixos.org/build/277146606

Last Builds:
✖ (Cancelled) zed-editor-0.159.5 from 2024-11-02 - https://hydra.nixos.org/build/276961360
✖ (Cancelled) zed-editor-0.159.5 from 2024-11-01 - https://hydra.nixos.org/build/276939819
✔ zed-editor-0.158.2 from 2024-10-31 - https://hydra.nixos.org/build/276837782
✖ (Failed) zed-0.129.2 from 2024-04-08 - https://hydra.nixos.org/build/255642259

@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

image

🎯 dotfiles macos-zed(3621907) via 🐹 v1.23.1 📁🍃 ☃️  zsh
> nix run nixpkgs/nixos-unstable#hydra-check -- --arch x86_64-darwin --channel nixos/trunk-combined zed-editor
Build Status for nixpkgs.zed-editor.x86_64-darwin on nixos/trunk-combined
⚠ This job is not a member of the latest evaluation of its jobset. This means it was removed or had an evaluation error.

🎯 dotfiles macos-zed(3621907) via 🐹 v1.23.1 📁🍃 ☃️  zsh
> nix run nixpkgs/nixos-unstable#hydra-check -- --arch x86_64-linux --channel nixos/trunk-combined zed-editor
Build Status for nixpkgs.zed-editor.x86_64-linux on nixos/trunk-combined
✔ zed-editor-0.159.7 from 2024-11-03 - https://hydra.nixos.org/build/277155257

nixos/trunk-combined does not include darwin builds as described as in above thread.
So nixpkgs/trunk might be better for darwin if I should use unstable channel for darwin 🤔

@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

NixOS/nixpkgs#107466

@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

srid/nixos-unified#51

@kachick kachick mentioned this pull request Nov 5, 2024
@kachick kachick closed this in #913 Nov 5, 2024
kachick added a commit that referenced this pull request Nov 5, 2024
@kachick kachick deleted the macos-zed branch November 6, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install zed-editor for darwin with nixpkgs
1 participant