qtModule: combine conditionals inside evaluation brackets

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
main
Thomas Tuegel 3 years ago committed by GitHub
parent de97acd190
commit 27b6cf2445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkgs/development/libraries/qt-5/qtModule.nix

@ -45,7 +45,7 @@ mkDerivation (args // {
exit 1
fi
if [[ -z "$dontSyncQt" ]] && [[ -f sync.profile ]]; then
if [[ -z "$dontSyncQt" && -f sync.profile ]]; then
syncqt.pl -version "''${version%%-*}"
fi
'';

Loading…
Cancel
Save