diff options
author | Adam Stephens <adam@valkor.net> | 2023-06-28 10:48:59 -0400 |
---|---|---|
committer | Yt <happysalada@tuta.io> | 2023-09-14 08:24:16 +0000 |
commit | fcbfef1e431e5fcdd400a7650b04a11699ebdb38 (patch) | |
tree | 434e1eacc375a77c50d93d1fdf393ea7a6247c74 /pkgs/development/beam-modules/build-mix.nix | |
parent | de3946feecab327ea5a9b125fde41f9b07243944 (diff) |
buildMix: copy package.json to support phoenix builds
Diffstat (limited to 'pkgs/development/beam-modules/build-mix.nix')
-rw-r--r-- | pkgs/development/beam-modules/build-mix.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/beam-modules/build-mix.nix b/pkgs/development/beam-modules/build-mix.nix index f74da7b7827da..4c5ad3f6fa246 100644 --- a/pkgs/development/beam-modules/build-mix.nix +++ b/pkgs/development/beam-modules/build-mix.nix @@ -87,6 +87,12 @@ let fi done + # Copy the source so it can be used by dependent packages. For example, + # 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" + runHook postInstall ''; |