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

error: store path starts with illegal character '.' #98

Open
Theaninova opened this issue Apr 9, 2024 · 0 comments
Open

error: store path starts with illegal character '.' #98

Theaninova opened this issue Apr 9, 2024 · 0 comments

Comments

@Theaninova
Copy link

error: store path 'bl3xamjkzllnkxa7q1kscvdpif262mb8-.p10k.zsh' starts with illegal character '.'
Traceback (most recent call last):
  File "/nix/store/qib21lnwyjwmfvcm9gxanl4af7f7jnyr-vulnix-1.10.1/bin/.vulnix-wrapped", line 9, in <module>
    sys.exit(main())
             ^^^^^^
  File "/nix/store/fslvacr1jmwrlhmf5dnc4avgfg4zvz92-python3.11-click-8.1.7/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/fslvacr1jmwrlhmf5dnc4avgfg4zvz92-python3.11-click-8.1.7/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/nix/store/fslvacr1jmwrlhmf5dnc4avgfg4zvz92-python3.11-click-8.1.7/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/fslvacr1jmwrlhmf5dnc4avgfg4zvz92-python3.11-click-8.1.7/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/qib21lnwyjwmfvcm9gxanl4af7f7jnyr-vulnix-1.10.1/lib/python3.11/site-packages/vulnix/main.py", line 150, in main
    populate_store(store, gc_roots, profile,  paths, requisites)
  File "/nix/store/qib21lnwyjwmfvcm9gxanl4af7f7jnyr-vulnix-1.10.1/lib/python3.11/site-packages/vulnix/main.py", line 60, in populate_store
    store.add_path(path)
  File "/nix/store/qib21lnwyjwmfvcm9gxanl4af7f7jnyr-vulnix-1.10.1/lib/python3.11/site-packages/vulnix/nix.py", line 97, in add_path
    for candidate in call(['nix-store', '-qR', deriver]).splitlines():
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/qib21lnwyjwmfvcm9gxanl4af7f7jnyr-vulnix-1.10.1/lib/python3.11/site-packages/vulnix/utils.py", line 15, in call
    output = subprocess.check_output(cmd, stderr=capture)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/lib/python3.11/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/gd3shnza1i50zn8zs04fa729ribr88m9-python3-3.11.8/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['nix-store', '-qR', '/nix/store/jram44vgrdpggavp0h2m6jd94mav373x-nixos-system-MONSTER-24.05.20240403.08b9151.drv']' returned non-zero exit status 1.

This was introduced in NixOS/nix#9867 (store paths are now allowed to include special characters)

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

No branches or pull requests

1 participant