nixpkgs-suyu/pkgs/development/libraries/gtk+/gtk3-setup-hook.sh
worldofpeace 638c39e65b gtk3: 3.24.8 -> 3.24.10, meson!
We now build gtk3 with the meson build system.
Notably, at least for the expression, all the platforms
logic for we had for configureFlags should be unneeded
with meson.
2019-07-17 10:45:06 +02:00

10 lines
285 B
Bash

fixupOutputHooks+=(_gtk3CleanComments)
# Clean comments that link to generator of the file
_gtk3CleanComments() {
local f="$prefix/lib/gtk-3.0/3.0.0/immodules.cache"
if [ -f "$f" ]; then
sed 's|Created by .*bin/gtk-query-|Created by bin/gtk-query-|' -i "$f"
fi
}