git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit5bf3230f6b26baa313a5300ad000e5c6a98db257 authorArnout Engelen <arnout@bzzt.net> dateSun 14 Mar 2021, 12:58 (6 years ago) parent3329093
1 file changed+1−1
pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix+1−1
pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix+1−1
@@ -6,7 +6,7 @@ stdenvNoCC.mkDerivation rec {
66
77 src = fetchgit {
88 url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
9− rev = lib.replaceStrings ["-"] [""] version;
9+ rev = "refs/tags/" + lib.replaceStrings ["-"] [""] version;
1010 sha256 = "0c85cd659312isfz1r87qswsgfhy0rljagcwspnvjljqrh9bsgzq";
1111 };
1212