summary refs log tree commit diff
path: root/pkgs/development/compilers/crystal
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2021-01-24 09:19:10 +0000
committerBen Siraphob <bensiraphob@gmail.com>2021-01-24 19:56:59 +0700
commitbc0d605cf19cef46ad2c82b4d2bb931a96b7c275 (patch)
treee2748f2e13e2d7c5f0748974c666c2b1e11aec7f /pkgs/development/compilers/crystal
parent513a3ea66508726937f65c257c79edd67059cef6 (diff)
downloadnixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar.gz
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar.bz2
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar.lz
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar.xz
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.tar.zst
nixpkgs-bc0d605cf19cef46ad2c82b4d2bb931a96b7c275.zip
treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
Diffstat (limited to 'pkgs/development/compilers/crystal')
-rw-r--r--pkgs/development/compilers/crystal/build-package.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/compilers/crystal/build-package.nix b/pkgs/development/compilers/crystal/build-package.nix
index 1d8b0137eb0..67c8128f6b5 100644
--- a/pkgs/development/compilers/crystal/build-package.nix
+++ b/pkgs/development/compilers/crystal/build-package.nix
@@ -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;