Skip to content

Commit

Permalink
Update flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuMoalic committed Oct 3, 2024
1 parent 121cb4f commit 098ce25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
buildInputs = basepkgs ++ [pkgs.addDriverRunpath];

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

Expand All @@ -74,14 +74,14 @@

GitFrontend = buildFrontend {
src = ./frontend;
npmDepsHash = "sha256-bLImLy3SU9DfyzY+mdZr+cTP4NLHcz957G+ZLLA0/6I=";
npmDepsHash = "sha256-NNr/4Py+YlXK+fYDidYlygyHSuVg4dy2nYRGefX4MwA=";
version = gitVersion;
};

GitBuildAmumax = buildAmumax {
src = ./.;
frontend = GitFrontend;
vendorHash = "sha256-c3se+OjvhF+femBirB7YhudV/MYLjWVg3xow9z53KjI=";
vendorHash = "sha256-nCjAc54HKOeHlus9scYSq9OMnnsbsijLM/9wm5RGkTw=";
version = gitVersion;
};

Expand Down

0 comments on commit 098ce25

Please sign in to comment.