nixを使用してalacrittyを実行できない

nixを使用してalacrittyを実行できない
 .nix-profile/bin/alacritty   
    Error: Error creating GL context; Received multiple errors:
    Could not create EGL display object
    `glXQueryExtensionsString` found no glX extensions

Error: "Event loop terminated with code: 1"

nixパッケージマネージャを使用してdebian stableを実行し、alacrittyをインストールします。

一部のユーザーはこれを使用することをお勧めします -https://github.com/guibou/nixGL。しかし、このエラーが発生しました。

  nix-channel --add https://github.com/guibou/nixGL/archive/main.tar.gz nixgl && nix-channel --update
warning: unable to download 'https://cache.nixos.org/v5djb4jw3hg4brdbidqaspin8n8isyq6.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 259 ms
these derivations will be built:
  /nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv
building '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv'...
while setting up the build environment: executing '/bin/bash': No such file or directory
builder for '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv' failed with exit code 1
error: build of '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv' failed
error: program '/usr/bin/nix-build' failed with exit code 100

ベストアンサー1

nixオペレーティングシステム用のOpenGLドライバをインストールしてみてください。 https://github.com/nix-community/nixGLこのリポジトリから。成功したらpkgを再インストールしてみてください。回避策 - alacrittyリポジトリをgit cloneし、cargo build --releasenixシェル内でalacrittyをnixシェル内で正常に構築する必要があります。

おすすめ記事