virt-top: fix build with gettext 0.25
This commit is contained in:
committed by
Vincent Laporte
parent
8457735197
commit
c37de9b4fd
@@ -7,6 +7,7 @@
|
||||
libxml2,
|
||||
pkg-config,
|
||||
getopt,
|
||||
gettext,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -43,9 +44,10 @@ stdenv.mkDerivation rec {
|
||||
]
|
||||
++ [ libxml2 ];
|
||||
|
||||
prePatch = ''
|
||||
postPatch = ''
|
||||
substituteInPlace ocaml-dep.sh.in --replace-fail '#!/bin/bash' '#!${stdenv.shell}'
|
||||
substituteInPlace ocaml-link.sh.in --replace-fail '#!/bin/bash' '#!${stdenv.shell}'
|
||||
substituteInPlace configure.ac --replace-fail 'AC_CONFIG_MACRO_DIR([m4])' 'AC_CONFIG_MACRO_DIRS([m4 ${gettext}/share/gettext/m4])'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user