XR packaging for Fedora Atomic

wlx-overlay-s: fix multiline command formatting

matrixfurry.com 6462ca7a 7779c3db

verified
+18 -14
+18 -14
Formula/wlx-overlay-s.rb
··· 24 24 25 25 # HACK: temporarily disable fixincludes for pthread.h, see https://github.com/orgs/Homebrew/discussions/6193 26 26 # Maybe building with LLVM clang would be a better idea? 27 - system "nu", "-c", "try { 28 - ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h 29 - | each {|file| mv $file.name $'($file.name).bak'}; 30 - print 'GCC Fixincludes disabled for `pthread.h`' 31 - } catch { 32 - print 'WARNING: Failed to disable pthread.h fixincludes from GCC.' 33 - }" 27 + system "nu", "-c", <<~EOF 28 + try { 29 + ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h 30 + | each {|file| mv $file.name $'($file.name).bak'}; 31 + print 'GCC Fixincludes disabled for `pthread.h`' 32 + } catch { 33 + print 'WARNING: Failed to disable pthread.h fixincludes from GCC.' 34 + } 35 + EOF 34 36 35 37 system "cargo", "install", 36 38 "--no-default-features", ··· 38 40 *std_cargo_args 39 41 40 42 # HACK: re-enable pthread.h fixincludes 41 - system "nu", "-c", "try { 42 - ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h.bak 43 - | each {|file| mv $file.name ($file.name | str substring 0..-5)}; 44 - print 'GCC Fixincludes re-enabled for `pthread.h`' 45 - } catch { 46 - print 'WARNING: Failed to re-enable pthread.h fixincludes from GCC.' 47 - }" 43 + system "nu", "-c", <<~EOF 44 + try { 45 + ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h.bak 46 + | each {|file| mv $file.name ($file.name | str substring 0..-5)}; 47 + print 'GCC Fixincludes re-enabled for `pthread.h`' 48 + } catch { 49 + print 'WARNING: Failed to re-enable pthread.h fixincludes from GCC.' 50 + } 51 + EOF 48 52 end 49 53 50 54 def caveats