diff options
author | Arnout Engelen <arnout@bzzt.net> | 2021-03-14 12:58:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-14 12:58:11 +0100 |
commit | 5bf3230f6b26baa313a5300ad000e5c6a98db257 (patch) | |
tree | 37d89b4d18c6a3de7365cc3ee10fe5927b68bd3c /pkgs/os-specific | |
parent | 3329093c6aca716761a3d91089d49e5cbb873d77 (diff) |
firmwareLinuxNonfree: fix fetching from git (#116306)
Since https://github.com/NixOS/nixpkgs/pull/104714 using a tag as the `rev` parameter to `fetchgit` is no longer reliable, so spell out the rev. Fixes #114439
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix b/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix index 6801256c7d36a..6e7f8d89dde97 100644 --- a/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix +++ b/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix @@ -6,7 +6,7 @@ stdenvNoCC.mkDerivation rec { src = fetchgit { url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"; - rev = lib.replaceStrings ["-"] [""] version; + rev = "refs/tags/" + lib.replaceStrings ["-"] [""] version; sha256 = "0c85cd659312isfz1r87qswsgfhy0rljagcwspnvjljqrh9bsgzq"; }; |