dwm: add updateScript

Qusic 3e426221 44d0940e

+8 -1
+8 -1
pkgs/applications/window-managers/dwm/default.nix
··· 1 - { lib, stdenv, fetchurl, libX11, libXinerama, libXft, writeText, patches ? [ ], conf ? null}: 1 + { lib, stdenv, fetchurl, libX11, libXinerama, libXft, writeText, patches ? [ ], conf ? null 2 + # update script dependencies 3 + , gitUpdater 4 + }: 2 5 3 6 stdenv.mkDerivation rec { 4 7 pname = "dwm"; ··· 28 31 lib.optionalString (conf != null) "cp ${configFile} config.def.h"; 29 32 30 33 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 34 + 35 + passthru.updateScript = gitUpdater { 36 + url = "git://git.suckless.org/dwm"; 37 + }; 31 38 32 39 meta = with lib; { 33 40 homepage = "https://dwm.suckless.org/";