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

ZSH Prezto broken with Nixpkgs unstable #1773

Closed
Wraul opened this issue Feb 2, 2021 · 1 comment · Fixed by #1778 · May be fixed by blaggacao/home-manager#1
Closed

ZSH Prezto broken with Nixpkgs unstable #1773

Wraul opened this issue Feb 2, 2021 · 1 comment · Fixed by #1778 · May be fixed by blaggacao/home-manager#1
Labels

Comments

@Wraul
Copy link

Wraul commented Feb 2, 2021

Issue description

This commit in Nixpkgs changes the directory structure of the zsh-prezto package.
NixOS/nixpkgs@d5b4c4f

Which results in the following error when I try to build my home configuration

error: --- SysError ------------------------------------------------------------------------------------------------------------------------------------- nix
getting status of '/nix/store/5asnfm639ywhnycam5m4pcvhrgnkqmjd-zsh-prezto-unstable-2021-01-19/runcoms': No such file or directory
(use '--show-trace' to show detailed location information)

Meta

Maintainer CC

@NickHu

Technical details

warning: --- Entry not found ---------------------------------------------------------------------------------------------------------------------- nix-shell
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
these 2 paths will be fetched (0.32 MiB download, 1.90 MiB unpacked):
  /nix/store/c000j0qk9xn7443n856kf5aim0n3fvdq-bash-interactive-4.4-p23-dev
  /nix/store/m7vjr697nngmz760cvxpdanr1741zwwv-bash-interactive-4.4-p23-doc
copying path '/nix/store/m7vjr697nngmz760cvxpdanr1741zwwv-bash-interactive-4.4-p23-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/c000j0qk9xn7443n856kf5aim0n3fvdq-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
warning: --- Entry not found ---------------------------------------------------------------------------------------------------------------- nix-instantiate
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
 - system: `"x86_64-darwin"`
 - host os: `Darwin 20.3.0, macOS 10.16`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.4pre20201205_a5d85d0`
 - channels(mathias): `"darwin, home-manager, nixpkgs-21.03pre265209.c60bb493e67"`
warning: --- Entry not found ---------------------------------------------------------------------------------------------------------------- nix-instantiate
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
 - nixpkgs: `/Users/mathias/.nix-defexpr/channels/nixpkgs`
@berbiche berbiche added the bug label Feb 4, 2021
@pinpox
Copy link
Contributor

pinpox commented Feb 5, 2021

I'm having the same issue. The module is looking for a folder called runcoms in the root of the package, while it's actually located in share/zsh-prezto/runcoms

You can find the relevant changes here: NixOS/nixpkgs@d5b4c4f#diff-cf3382aca70fd62c7a94c39a2b684ae29df8ed3bbce5172008fe6646e9fc43fa

@berbiche have you found a workaround for this?

EDIT: These are the paths in my nix-store:

▸ ls /nix/store/basp5c4cvg7ni4nrgwk23vpy324bh5zj-zsh-prezto-unstable-2021-01-19/
share

▸ ls /nix/store/basp5c4cvg7ni4nrgwk23vpy324bh5zj-zsh-prezto-unstable-2021-01-19/share/zsh-prezto/
modules  runcoms  CONTRIBUTING.md  init.zsh  LICENSE  README.md

@pinpox pinpox mentioned this issue Feb 5, 2021
5 tasks
NickHu added a commit that referenced this issue Feb 9, 2021
* zsh: update prezto path structure

The path structure was changed in Nixpkgs and this commit updates
the module to match.

Fixes #1773

* zsh-prezto: fix tests, small tidyup

Co-authored-by: Nick Hu <[email protected]>
malte-v pushed a commit to malte-v/home-manager that referenced this issue Feb 24, 2021
* zsh: update prezto path structure

The path structure was changed in Nixpkgs and this commit updates
the module to match.

Fixes nix-community#1773

* zsh-prezto: fix tests, small tidyup

Co-authored-by: Nick Hu <[email protected]>
aakropotkin pushed a commit to aakropotkin/home-manager that referenced this issue Feb 28, 2021
* zsh: update prezto path structure

The path structure was changed in Nixpkgs and this commit updates
the module to match.

Fixes nix-community#1773

* zsh-prezto: fix tests, small tidyup

Co-authored-by: Nick Hu <[email protected]>
cab404 pushed a commit to cab404/home-manager that referenced this issue Apr 23, 2021
* zsh: update prezto path structure

The path structure was changed in Nixpkgs and this commit updates
the module to match.

Fixes nix-community#1773

* zsh-prezto: fix tests, small tidyup

Co-authored-by: Nick Hu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants