Merge pull request #137841 from ncfavier/file-roller-wrapper

gnome.file-roller: avoid wrapping the program twice
This commit is contained in:
Bobby Rong 2021-09-15 21:45:31 +08:00 committed by GitHub
commit 0da8b6d580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,10 +25,11 @@ stdenv.mkDerivation rec {
patchShebangs data/set-mime-type-entry.py
'';
postFixup = ''
preFixup = ''
# Workaround because of https://gitlab.gnome.org/GNOME/file-roller/issues/40
wrapProgram "$out/bin/file-roller" \
gappsWrapperArgs+=(
--prefix PATH : ${lib.makeBinPath [ unzip ]}
)
'';
passthru = {