diff options
Diffstat (limited to 'virtual/modules/websites/commons/composer-env.nix')
-rw-r--r-- | virtual/modules/websites/commons/composer-env.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/virtual/modules/websites/commons/composer-env.nix b/virtual/modules/websites/commons/composer-env.nix index abc8f01..051ac6e 100644 --- a/virtual/modules/websites/commons/composer-env.nix +++ b/virtual/modules/websites/commons/composer-env.nix | |||
@@ -152,7 +152,7 @@ let | |||
152 | ${if symlinkDependencies then | 152 | ${if symlinkDependencies then |
153 | ''ln -s "${dependency.src}" "$vendorDir/$(basename "${dependencyName}")"'' | 153 | ''ln -s "${dependency.src}" "$vendorDir/$(basename "${dependencyName}")"'' |
154 | else | 154 | else |
155 | ''cp -av "${dependency.src}" "$vendorDir/$(basename "${dependencyName}")"'' | 155 | ''cp -a "${dependency.src}" "$vendorDir/$(basename "${dependencyName}")"'' |
156 | }${if dependency.needsModifyRights or false then "\n" + '' | 156 | }${if dependency.needsModifyRights or false then "\n" + '' |
157 | chmod -R u+rwx "$vendorDir/$(basename "${dependencyName}")" | 157 | chmod -R u+rwx "$vendorDir/$(basename "${dependencyName}")" |
158 | '' else ""} | 158 | '' else ""} |
@@ -162,7 +162,7 @@ let | |||
162 | ${if symlinkDependencies then | 162 | ${if symlinkDependencies then |
163 | ''ln -s "${dependency.src}" "$namespaceDir/$(basename "${dependency.targetDir}")"'' | 163 | ''ln -s "${dependency.src}" "$namespaceDir/$(basename "${dependency.targetDir}")"'' |
164 | else | 164 | else |
165 | ''cp -av "${dependency.src}" "$namespaceDir/$(basename "${dependency.targetDir}")"'' | 165 | ''cp -a "${dependency.src}" "$namespaceDir/$(basename "${dependency.targetDir}")"'' |
166 | }${if dependency.needsModifyRights or false then "\n" + '' | 166 | }${if dependency.needsModifyRights or false then "\n" + '' |
167 | chmod -R u+rwx "$namespaceDir/$(basename "${dependency.targetDir}")" | 167 | chmod -R u+rwx "$namespaceDir/$(basename "${dependency.targetDir}")" |
168 | '' else ""} | 168 | '' else ""} |
@@ -180,11 +180,11 @@ let | |||
180 | installPhase = '' | 180 | installPhase = '' |
181 | ${if executable then '' | 181 | ${if executable then '' |
182 | mkdir -p $out/share/php | 182 | mkdir -p $out/share/php |
183 | cp -av $src $out/share/php/$name | 183 | cp -a $src $out/share/php/$name |
184 | chmod -R u+w $out/share/php/$name | 184 | chmod -R u+w $out/share/php/$name |
185 | cd $out/share/php/$name | 185 | cd $out/share/php/$name |
186 | '' else '' | 186 | '' else '' |
187 | cp -av $src $out | 187 | cp -a $src $out |
188 | chmod -R u+w $out | 188 | chmod -R u+w $out |
189 | cd $out | 189 | cd $out |
190 | ''} | 190 | ''} |