Skip to content

neovim wrapper fails to build on macOS #94633

@surajbarkale

Description

@surajbarkale

The neovim wrapper tries to write to substitute nvim.desktop file which is not present in macOS.

$ nix-shell -p neovim
these derivations will be built:
  /nix/store/lqs1fb3vz7asf5jdm8frm20ksgqqlns9-neovim-0.4.3.drv
these paths will be fetched (1.47 MiB download, 7.89 MiB unpacked):
  /nix/store/6c0sv5anhxgqz37b62lcpz916hnf8ixq-bash-interactive-4.4-p23-info
  /nix/store/86rczhd19w6hqs0mw1q7219z88vcynnr-bash-interactive-4.4-p23
  /nix/store/8dfvqr48ng2qwrbw8dywkdmzbh0ijw7c-bash-interactive-4.4-p23-doc
  /nix/store/9y8a6pjkk03x9fj7ln3j47ws9w1hpf52-bash-interactive-4.4-p23-man
  /nix/store/cdbhk80q5kv95npyd650l5d412w797lf-readline-7.0p5
  /nix/store/ddm1y988d42mxmz62fzg8xz3ladxz8vq-stdenv-darwin
  /nix/store/p7493wkr25xq5zb27qggwan770m9sh8x-bash-interactive-4.4-p23-dev
copying path '/nix/store/8dfvqr48ng2qwrbw8dywkdmzbh0ijw7c-bash-interactive-4.4-p23-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/6c0sv5anhxgqz37b62lcpz916hnf8ixq-bash-interactive-4.4-p23-info' from 'https://cache.nixos.org'...
copying path '/nix/store/9y8a6pjkk03x9fj7ln3j47ws9w1hpf52-bash-interactive-4.4-p23-man' from 'https://cache.nixos.org'...
copying path '/nix/store/cdbhk80q5kv95npyd650l5d412w797lf-readline-7.0p5' from 'https://cache.nixos.org'...
copying path '/nix/store/ddm1y988d42mxmz62fzg8xz3ladxz8vq-stdenv-darwin' from 'https://cache.nixos.org'...
copying path '/nix/store/86rczhd19w6hqs0mw1q7219z88vcynnr-bash-interactive-4.4-p23' from 'https://cache.nixos.org'...
building '/nix/store/lqs1fb3vz7asf5jdm8frm20ksgqqlns9-neovim-0.4.3.drv'...
rm: cannot remove '/nix/store/g1hr07fay1xvgci3yzdzh4sxaq06kcph-neovim-0.4.3/share/applications/nvim.desktop': No such file or directory
builder for '/nix/store/lqs1fb3vz7asf5jdm8frm20ksgqqlns9-neovim-0.4.3.drv' failed with exit code 1
error: build of '/nix/store/b39n7688ml1kzwg50szwcwid3n7psswv-bash-interactive-4.4-p23.drv', '/nix/store/lqs1fb3vz7asf5jdm8frm20ksgqqlns9-neovim-0.4.3.drv' failed

$ ls /nix/store/g1hr07fay1xvgci3yzdzh4sxaq06kcph-neovim-0.4.3/share/
locale/ man/    nvim/

This failure is probably related to 85f6da6

Metadata

  • system: "x86_64-darwin"
  • host os: Darwin 19.6.0, macOS 10.15.6
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.3.7
  • channels(root): "home-manager, nixpkgs-20.09pre237004.76f2e271a2e"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions