Description
Installation of nixGLNvidia
fails with latest drivers on Ubuntu 22.04 (LTS):
$ NIXPKGS_ALLOW_UNFREE=1 nix profile install github:guibou/nixGL#nixGLNvidia --impure
It looks for a driver file that's not available in https://download.nvidia.com/XFree86/Linux-x86_64/
.
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'nixGLNvidia-550.54.15'
whose name attribute is located at /nix/store/kc7nh9sdr4z8c7xc9j9891v212k2zj8k-source/pkgs/stdenv/generic/make-derivation.nix:270:7
… while evaluating attribute 'text' of derivation 'nixGLNvidia-550.54.15'
at /nix/store/kc7nh9sdr4z8c7xc9j9891v212k2zj8k-source/pkgs/build-support/trivial-builders.nix:117:17:
116| runCommand name
117| { inherit text executable checkPhase meta;
| ^
118| passAsFile = [ "text" ];
(stack trace truncated; use '--show-trace' to show the full trace)
error: unable to download 'https://download.nvidia.com/XFree86/Linux-x86_64/550.54.15/NVIDIA-Linux-x86_64-550.54.15.run': HTTP error 404
response body:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
<script type="text/javascript" src="//obj.ac.bcon.ecdns.net/ec_tpm_bcon.js"></script>
</body>
</html>
What is the best mitigation for this? I've seen this issue pop up on the repo from time to time (i.e. there were other issues like this one in the past, e.g. this one)
Metadata
Metadata
Assignees
Labels
No labels