nix パッケージ管理: Firefox をインストールできません

nix パッケージ管理: Firefox をインストールできません

まずFirefoxをインストールしてみてください。依存関係パッケージが正しくインストールされました。ただし、最終的に次のエラーが発生しました。

$nix-env -i firefox-67.0.1
...
post-installation fixup
Moving /nix/store/qx4w4841grng03q819hmaj315j7a9w6r-compiler-rt-7.1.0/include to /nix/store/a0dxd8aiqvpfxwlpv44d0xbpkmcxcq0g-compiler-rt-7.1.0-dev/include
Removing empty /nix/store/qx4w4841grng03q819hmaj315j7a9w6r-compiler-rt-7.1.0/ and (possibly) its parents
strip is /nix/store/ah81jgj71sr7nmvy4pc6x89pgpr6ygvk-binutils-2.31.1/bin/strip
shrinking RPATHs of ELF executables and libraries in /nix/store/a0dxd8aiqvpfxwlpv44d0xbpkmcxcq0g-compiler-rt-7.1.0-dev
strip is /nix/store/ah81jgj71sr7nmvy4pc6x89pgpr6ygvk-binutils-2.31.1/bin/strip
patching script interpreter paths in /nix/store/a0dxd8aiqvpfxwlpv44d0xbpkmcxcq0g-compiler-rt-7.1.0-dev
checking for references to /build/ in /nix/store/a0dxd8aiqvpfxwlpv44d0xbpkmcxcq0g-compiler-rt-7.1.0-dev...
builder for '/nix/store/75sxcn605fsqr3jgbf70chn8550rvk4j-compiler-rt-7.1.0.drv' failed to produce output path '/nix/store/qx4w4841grng03q819hmaj315j7a9w6r-compiler-rt-7.1.0'
cannot build derivation '/nix/store/d6rh69f4gik90sm24p422gf3zpws6svb-clang-wrapper-7.1.0.drv': 1 dependencies couldn't be built
copying path '/nix/store/p7dyx7mwj4llimn0ydm6dkw910j81sgz-gtk+-2.24.32-dev' from 'https://cache.nixos.org'...
cannot build derivation '/nix/store/ihd6b877m513q4aq9q0gddxgl7b6lw2b-firefox-unwrapped-67.0.1.drv': 1 dependencies couldn't be built
copying path '/nix/store/zwrn3cwjl7gs7kaj872pyzzrd0j98kbr-gtk+3-3.24.8-dev' from 'https://cache.nixos.org'...
cannot build derivation '/nix/store/r85ddzbfic2jvypaskj6brbd51fy64h1-firefox-67.0.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/r85ddzbfic2jvypaskj6brbd51fy64h1-firefox-67.0.1.drv' failed

ベストアンサー1

問題はFirefoxビルド自体にあるのではなく、次のようなllvmPackages.compiler-rt問題については問題トラッカーを使用するのが最善だと思います。https://github.com/nixos/nixpkgs/issues

...しかし、とにかく助けてみましょう。ここ数週間、Firefox ビルド全体がビルドファームに正常に表示されました(所有者19.03; (2)ローカルで失敗する理由を見つけようとするかもしれません...最初の推測は、サンドボックスを無効にしてビルドにいくつかの不純物を公開したことです。

おすすめ記事