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

At least nixGLIntel does not work with older nixpkgs #123

Closed
teekuningas opened this issue Feb 15, 2023 · 4 comments
Closed

At least nixGLIntel does not work with older nixpkgs #123

teekuningas opened this issue Feb 15, 2023 · 4 comments

Comments

@teekuningas
Copy link

Seems to have broken in the last pull request.. For me it has been important to be able to use older nixpkgs versions because some of the support for older graphics drivers gets dropped in the newer versions. I'm happy to pin versions of nixGL however, so this is more like a for-your-information.

❯ nix repl
Welcome to Nix 2.11.0. Type :? for help.

nix-repl> builtins.currentSystem
"x86_64-linux"
> nix shell --override-input nixpkgs nixpkgs/20.09 github:guibou/nixGL#nixGLIntel
warning: not writing modified lock file of flake 'github:guibou/nixGL':
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/441dc5d512153039f19ef198e662e4f3dbb9fd65' (2022-08-15)
  → 'github:NixOS/nixpkgs/cd63096d6d887d689543a0b97743d28995bc9bc3' (2020-10-27)
error: Package ‘intel-gmmlib-20.2.5’ in /nix/store/fw277i56nwladrnqzlswf4p4pakl2pmx-source/pkgs/development/libraries/intel-gmmlib/default.nix:21 is not supported on ‘i686-linux’, refusing to evaluate.

       a) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.
(use '--show-trace' to show detailed location information)

This still works:

nix shell --override-input nixpkgs nixpkgs/nixos-20.09 github:guibou/nixGL/643e730efb981ffaf8478f441ec9b9aeea1c89f5#nixGLIntel
@SuperSandro2000
Copy link
Member

You should be able to just ignore that. i686 worked all the time and enabling it was basically just changing meta.platforms. NixOS/nixpkgs@c32fa3f

Also 20.09 is very old. If you need an older version of one package I would highly recommend overlays instead.

@guibou
Copy link
Collaborator

guibou commented Feb 16, 2023

Thank you for letting us know.

Indeed, the problem of compatibility of nixGL is complex. I'm happy to know that you are ok with pinning. Please tell us if pinning a specific version of nixGL does not work for you in the future.

@teekuningas
Copy link
Author

Ok, thanks, fine enough!

-- Erkka

@SuperSandro2000
Copy link
Member

I would suggest to follow the supported nixos releases to be able to push bug fixes into them if required.

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

3 participants