buildMix: use . instead of glob pattern for copying source

buildMix currently uses $src/* when copying source files into $out.
However, this does not include important hidden files like
`.formatter.exs` which contains custom package formatters, for example.
This commit is contained in:
Luke Bailey
2025-05-18 00:24:39 +01:00
parent a8f6f58213
commit f1cb7effb5
+1 -1
View File
@@ -124,7 +124,7 @@ let
# phoenix applications need the source of phoenix and phoenix_html to
# build javascript and css assets.
mkdir -p $out/src
cp -r $src/* "$out/src"
cp -r "$src/." "$out/src"
runHook postInstall
'';