treewide: fix double quoted strings in meta.description

Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
This commit is contained in:
volth
2021-01-24 19:56:59 +07:00
committed by Ben Siraphob
parent 513a3ea665
commit bc0d605cf1
563 changed files with 1884 additions and 1911 deletions
@@ -66,7 +66,7 @@ stdenv.mkDerivation (mkDerivationArgs // {
buildPhase = args.buildPhase or (lib.concatStringsSep "\n" ([
"runHook preBuild"
] ++ lib.optional (format == "make")
''make ''${buildTargets:-build} $makeFlags''
"make \${buildTargets:-build} $makeFlags"
++ lib.optionals (format == "crystal") (lib.mapAttrsToList
(bin: attrs: ''
crystal ${lib.escapeShellArgs ([
@@ -84,14 +84,14 @@ stdenv.mkDerivation (mkDerivationArgs // {
installPhase = args.installPhase or (lib.concatStringsSep "\n" ([
"runHook preInstall"
] ++ lib.optional (format == "make")
''make ''${installTargets:-install} $installFlags''
"make \${installTargets:-install} $installFlags"
++ lib.optionals (format == "crystal") (map
(bin: ''
install -Dm555 ${lib.escapeShellArgs [ bin "${placeholder "out"}/bin/${bin}" ]}
'')
(lib.attrNames crystalBinaries))
++ lib.optional (format == "shards")
''install -Dm555 bin/* -t $out/bin''
"install -Dm555 bin/* -t $out/bin"
++ [
''
for f in README* *.md LICENSE; do
@@ -111,9 +111,9 @@ stdenv.mkDerivation (mkDerivationArgs // {
checkPhase = args.checkPhase or (lib.concatStringsSep "\n" ([
"runHook preCheck"
] ++ lib.optional (format == "make")
''make ''${checkTarget:-test} $checkFlags''
"make \${checkTarget:-test} $checkFlags"
++ lib.optional (format != "make")
''crystal ''${checkTarget:-spec} $checkFlags''
"crystal \${checkTarget:-spec} $checkFlags"
++ [ "runHook postCheck" ]));
doInstallCheck = args.doInstallCheck or true;
+1 -1
View File
@@ -19,7 +19,7 @@ in clangStdenv.mkDerivation rec {
cmakeFlags = [ "-DUSE_BOOST_WAVE=ON" "-DENABLERTTI=ON" ];
preConfigure = '' patchShebangs src/liboslexec/serialize-bc.bash '';
preConfigure = "patchShebangs src/liboslexec/serialize-bc.bash ";
nativeBuildInputs = [ cmake boost_static flex bison];
buildInputs = [
+3 -4
View File
@@ -87,10 +87,9 @@ stdenv.mkDerivation (rec {
NIX_CFLAGS_COMPILE = [ "-Wno-error=redundant-move" "-Wno-error=implicit-fallthrough" ];
installPhase = ''
make config=release prefix=$out ''
+ lib.optionalString stdenv.isDarwin '' bits=64 ''
+ lib.optionalString (stdenv.isDarwin && (!lto)) '' lto=no ''
installPhase = "make config=release prefix=$out "
+ lib.optionalString stdenv.isDarwin "bits=64 "
+ lib.optionalString (stdenv.isDarwin && (!lto)) "lto=no "
+ '' install
wrapProgram $out/bin/ponyc \
+1 -1
View File
@@ -117,7 +117,7 @@ in stdenv.mkDerivation rec {
postPatch = ''
patchShebangs src/etc
${optionalString (!withBundledLLVM) ''rm -rf src/llvm''}
${optionalString (!withBundledLLVM) "rm -rf src/llvm"}
# Fix the configure script to not require curl as we won't use it
sed -i configure \
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ ncompress libX11 ];
buildPhase = '' ./build '';
buildPhase = "./build ";
installPhase = ''
mkdir -p "$out/bin"
+1 -1
View File
@@ -321,7 +321,7 @@ stdenv.mkDerivation {
'';
# Hack to avoid build and install directories in RPATHs.
preFixup = ''rm -rf $SWIFT_BUILD_ROOT $SWIFT_INSTALL_DIR'';
preFixup = "rm -rf $SWIFT_BUILD_ROOT $SWIFT_INSTALL_DIR";
meta = with lib; {
description = "The Swift Programming Language";