We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8457735 commit c37de9bCopy full SHA for c37de9b
pkgs/applications/virtualization/virt-top/default.nix
@@ -7,6 +7,7 @@
7
libxml2,
8
pkg-config,
9
getopt,
10
+ gettext,
11
}:
12
13
stdenv.mkDerivation rec {
@@ -43,9 +44,10 @@ stdenv.mkDerivation rec {
43
44
]
45
++ [ libxml2 ];
46
- prePatch = ''
47
+ postPatch = ''
48
substituteInPlace ocaml-dep.sh.in --replace-fail '#!/bin/bash' '#!${stdenv.shell}'
49
substituteInPlace ocaml-link.sh.in --replace-fail '#!/bin/bash' '#!${stdenv.shell}'
50
+ substituteInPlace configure.ac --replace-fail 'AC_CONFIG_MACRO_DIR([m4])' 'AC_CONFIG_MACRO_DIRS([m4 ${gettext}/share/gettext/m4])'
51
'';
52
53
meta = {
0 commit comments