mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
libdbusmenu: fix substituteInPlace usage
This commit is contained in:
parent
e75b2f03d0
commit
e10e0c4707
@ -26,8 +26,10 @@ stdenv.mkDerivation rec {
|
||||
] ++ optional (gtkVersion != null) (if gtkVersion == "2" then gtk2 else gtk3);
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace {configure,ltmain.sh,m4/libtool.m4} \
|
||||
--replace /usr/bin/file ${file}/bin/file
|
||||
for f in {configure,ltmain.sh,m4/libtool.m4}; do
|
||||
substituteInPlace $f \
|
||||
--replace /usr/bin/file ${file}/bin/file
|
||||
done
|
||||
'';
|
||||
|
||||
# https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/libdbusmenu
|
||||
|
Loading…
Reference in New Issue
Block a user