treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user