From 783eaf99809201a1e9cd70a4cfd89568b1830d42 Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 11 Mar 2022 22:41:12 +0100 Subject: [PATCH] make-darwin-bundle: Prefer long lines to splitting --- pkgs/build-support/make-darwin-bundle/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/build-support/make-darwin-bundle/default.nix b/pkgs/build-support/make-darwin-bundle/default.nix index 92eee48300b..52dd54b0b2c 100644 --- a/pkgs/build-support/make-darwin-bundle/default.nix +++ b/pkgs/build-support/make-darwin-bundle/default.nix @@ -16,12 +16,10 @@ writeShellScript "make-darwin-bundle-${name}" ('' mkdir -p "''${!outputBin}/Applications/${name}.app/Contents/Resources" if [ -n "${icon}" ]; then - ln -s "${icon}" \ - "''${!outputBin}/Applications/${name}.app/Contents/Resources" + ln -s "${icon}" "''${!outputBin}/Applications/${name}.app/Contents/Resources" fi - ${writeDarwinBundle}/bin/write-darwin-bundle "''${!outputBin}" "${name}" \ - "${exec}" + ${writeDarwinBundle}/bin/write-darwin-bundle "''${!outputBin}" "${name}" "${exec}" } preDistPhases+=" makeDarwinBundlePhase"