gnu: Fix fetching the linux-libre deblobbing script.
authorLeo Famulari <leo@famulari.name>
Tue, 15 Sep 2020 23:57:48 +0000 (19:57 -0400)
committerLeo Famulari <leo@famulari.name>
Wed, 16 Sep 2020 03:21:57 +0000 (23:21 -0400)
This is a followup to commit 105a037090d9a970a2c2336341d6673eff29e4cf.

* gnu/packages/linux.scm (linux-libre-deblob-scripts): Truncate the version in
the file-name, not the source URI.

gnu/packages/linux.scm

index 59ffb33..2e47b81 100644 (file)
@@ -195,9 +195,9 @@ defconfig.  Return the appropriate make target if applicable, otherwise return
           (method url-fetch)
           (uri (string-append "https://linux-libre.fsfla.org"
                               "/pub/linux-libre/releases/" version "-gnu/"
-                              "deblob-" version))
+                              "deblob-" (version-major+minor version)))
           (file-name (string-append "linux-libre-deblob-"
-                                    (version-major+minor version)))
+                                    version))
           (sha256 deblob-hash))
         (origin
           (method url-fetch)