nix-community / nixGL

A wrapper tool for nix OpenGL application [maintainer=@guibou]
677 stars 78 forks source link

Error: file 'REPEAT' was not found in the Nix search path #99

Closed pbsds closed 2 years ago

pbsds commented 2 years ago
$ nix-env -iA nixgl.auto.nixGLNvidiaBumblebee
...
installing 'nixGLNvidiaBumblebee-510.60.02'
error: file 'REPEAT' was not found in the Nix search path (add it using $NIX_PATH or -I)
       at /nix/store/hrbarvjl8md1y3jb42p7yqgymai9c9i0-env-manifest.nix:1:1079

This happens when trying to install both nvidia bumblebee, non-bumblebee and intel.

Some debug info:

$ cat  /nix/store/hrbarvjl8md1y3jb42p7yqgymai9c9i0-env-manifest.nix | cut -c1065-1087
; platforms = <REPEAT>;
$ nix-channel --list
nixgl https://github.com/guibou/nixGL/archive/main.tar.gz
nixpkgs https://nixos.org/channels/nixos-21.11
unstable https://nixos.org/channels/nixpkgs-unstable
$ lsb_release -a
LSB Version:    n/a
Distributor ID: ManjaroLinux
Description:    Manjaro Linux
Release:        21.2.6
Codename:       Qonos
$ nvidia-smi  | grep -i driver
| NVIDIA-SMI 510.60.02    Driver Version: 510.60.02    CUDA Version: 11.6     |
$ nvidia-smi  --list-gpus
GPU 0: NVIDIA GeForce RTX 3070 Laptop GPU
$ lspci | grep -i graphic
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
dali99 commented 2 years ago

This is likely this quite amusing bug https://github.com/NixOS/nix/issues/6524