diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2018-03-30 21:33:31 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2018-03-30 21:35:09 +0200 |
commit | 514e3e8a0798d468c0e907adf080c21a09083ba2 (patch) | |
tree | 53e46ce3da69e7727c480571422c48c7579e8e3f /pkgs/misc | |
parent | 262fff26ed9e612ff37da41a67005f4c1d1515ac (diff) | |
download | nixlib-514e3e8a0798d468c0e907adf080c21a09083ba2.tar nixlib-514e3e8a0798d468c0e907adf080c21a09083ba2.tar.gz nixlib-514e3e8a0798d468c0e907adf080c21a09083ba2.tar.bz2 nixlib-514e3e8a0798d468c0e907adf080c21a09083ba2.tar.lz nixlib-514e3e8a0798d468c0e907adf080c21a09083ba2.tar.xz nixlib-514e3e8a0798d468c0e907adf080c21a09083ba2.tar.zst nixlib-514e3e8a0798d468c0e907adf080c21a09083ba2.zip |
cups: fix patch download without a rebuild
One needs to specify git commit to make the fetch always work. Close #38113.
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/cups/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix index a82afc1e472c..feeb73a27e90 100644 --- a/pkgs/misc/cups/default.nix +++ b/pkgs/misc/cups/default.nix @@ -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 |