nix-community / comma

Comma runs software without installing it. [maintainers=@Artturin,@burke,@DavHau]
1.09k stars 48 forks source link

"attribute 'x11' missing" #45

Closed Krutonium closed 1 year ago

Krutonium commented 1 year ago
✔ >>  , --update
Updating nix-index database, takes around 5 minutes.
+ querying available packages
error: querying available packages failed
caused by: nix-env failed with error: nix-env failed with exit code 1:
error: attribute 'x11' missing

       at /nix/store/5nk5q08yq9900gfwwq3aphsj6ya7m16h-nixos-21.11.335665.0f316e4d72d/nixos/pkgs/development/r-modules/default.nix:314:16:

          313|     HiCseg = [ pkgs.gsl ];
          314|     imager = [ pkgs.x11 ];
             |                ^
          315|     iBMQ = [ pkgs.gsl ];
       Did you mean one of c14, e16, x2x, xa or xar?
(use '--show-trace' to show detailed location information)

~ 15s 

I can't update the package index's because of this error. https://github.com/Krutonium/NewNix This is my config.

I have absolutely no idea why this is breaking. Tell me what you need to help you fix this.

Artturin commented 1 year ago

21.11

Update to 22.11 and if you're using flakes then remember to pin the nix channel to the flake registry

This also isn't a comma issue but a nix-index issue

Krutonium commented 1 year ago

I am on 22.11 - How do I pin that?

Krutonium commented 1 year ago

So it looks like I ran into the same issue as #43 - I eventually solved it by setting nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; in my flake.