cups: fix patch download without a rebuild

One needs to specify git commit to make the fetch always work.
Close #38113.
This commit is contained in:
Vladimír Čunát 2018-03-30 21:33:31 +02:00
parent 262fff26ed
commit 514e3e8a07
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -22,7 +22,9 @@ stdenv.mkDerivation rec {
patches = [
(fetchpatch {
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/cups-systemd-socket.patch?h=packages/cups";
name = "cups"; # weird name to avoid change (for now)
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/cups-systemd-socket.patch"
+ "?h=packages/cups&id=41fefa22ac518";
sha256 = "1ddgdlg9s0l2ph6l8lx1m1lx6k50gyxqi3qiwr44ppq1rxs80ny5";
})
./cups-clean-dirty.patch