treewide: remove redundant quotes

This commit is contained in:
volth
2019-08-26 21:40:19 +00:00
parent fe9c9f719d
commit 35d68ef143
293 changed files with 860 additions and 860 deletions
+5 -5
View File
@@ -8,9 +8,9 @@ let
printProperties = properties:
concatMapStrings (propertyName:
let
property = properties."${propertyName}";
property = properties.${propertyName};
in
if isList property then "${propertyName}=(${lib.concatMapStrings (elem: "\"${toString elem}\" ") (properties."${propertyName}")})\n"
if isList property then "${propertyName}=(${lib.concatMapStrings (elem: "\"${toString elem}\" ") (properties.${propertyName})})\n"
else "${propertyName}=\"${toString property}\"\n"
) (builtins.attrNames properties);
@@ -31,7 +31,7 @@ let
${concatMapStrings (containerName:
let
containerProperties = cfg.containers."${containerName}";
containerProperties = cfg.containers.${containerName};
in
''
cat > ${containerName} <<EOF
@@ -49,10 +49,10 @@ let
${concatMapStrings (componentName:
let
component = cfg.components."${containerName}"."${componentName}";
component = cfg.components.${containerName}.${componentName};
in
"ln -s ${component} ${containerName}/${componentName}\n"
) (builtins.attrNames (cfg.components."${containerName}" or {}))}
) (builtins.attrNames (cfg.components.${containerName} or {}))}
'';
componentsDir = pkgs.stdenv.mkDerivation {