summary refs log tree commit diff
path: root/pkgs/development/libraries/gtk/gtk3-setup-hook.sh
blob: bddeb2d25d50690342835df9f65495a864176e9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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
}