about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorArnout Engelen <arnout@bzzt.net>2021-03-14 12:58:11 +0100
committerGitHub <noreply@github.com>2021-03-14 12:58:11 +0100
commit5bf3230f6b26baa313a5300ad000e5c6a98db257 (patch)
tree37d89b4d18c6a3de7365cc3ee10fe5927b68bd3c /pkgs/os-specific
parent3329093c6aca716761a3d91089d49e5cbb873d77 (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.nix2
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";
   };