Skip to content

Commit

Permalink
Fix copying frontend to nix binary build phase
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuMoalic committed Dec 11, 2024
1 parent 4ca339b commit 306fd9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@

buildPhase = ''
mkdir -p src/api/static
mkdir -p src/engine_old/api_old/static
cp -r ${frontend} src/api/static
cp -r ${frontend} src/engine_old/api_old/static
cp -r ${frontend}/* src/api/static
go build -v -o $out/bin/amumax -ldflags '-s -w -X github.com/MathieuMoalic/amumax/src/version.VERSION=${version}' .
'';

Expand Down

0 comments on commit 306fd9c

Please sign in to comment.