tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dwm: add updateScript
Qusic
2 years ago
3e426221
44d0940e
+8
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
window-managers
dwm
default.nix
+8
-1
pkgs/applications/window-managers/dwm/default.nix
···
1
1
-
{ lib, stdenv, fetchurl, libX11, libXinerama, libXft, writeText, patches ? [ ], conf ? null}:
1
1
+
{ lib, stdenv, fetchurl, libX11, libXinerama, libXft, writeText, patches ? [ ], conf ? null
2
2
+
# update script dependencies
3
3
+
, gitUpdater
4
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
34
+
35
35
+
passthru.updateScript = gitUpdater {
36
36
+
url = "git://git.suckless.org/dwm";
37
37
+
};
31
38
32
39
meta = with lib; {
33
40
homepage = "https://dwm.suckless.org/";