File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,17 @@ stdenv.mkDerivation rec {
9
9
sha256 = "0475w514b7i3gxk6khy8pfj2gx9l7lv2pwacmq92zn1abv01a84g" ;
10
10
} ;
11
11
12
+ patches = [
13
+ # https://github.com/martanne/dvtm/pull/69
14
+ # Use self-pipe instead of signal blocking fixes issues on darwin.
15
+ ( fetchurl {
16
+ url = "https://github.com/martanne/dvtm/commit/1f1ed664d64603f3f1ce1388571227dc723901b2.patch" ;
17
+ sha256 = "1cby8x3ckvhzqa8yxlfrwzgm8wk7yz84kr9psdjr7xwpnca1cqrd" ;
18
+ } )
19
+ ] ;
20
+
21
+ CFLAGS = stdenv . lib . optionalString stdenv . isDarwin "-D_DARWIN_C_SOURCE" ;
22
+
12
23
postPatch = stdenv . lib . optionalString ( customConfig != null ) ''
13
24
cp ${ builtins . toFile "config.h" customConfig } ./config.h
14
25
'' ;
@@ -28,7 +39,6 @@ stdenv.mkDerivation rec {
28
39
description = "Dynamic virtual terminal manager" ;
29
40
homepage = http://www.brain-dump.org/projects/dvtm ;
30
41
license = licenses . mit ;
31
- platforms = platforms . linux ;
32
42
maintainers = [ maintainers . vrthra ] ;
33
43
} ;
34
44
}
You can’t perform that action at this time.
0 commit comments