Skip to content

Commit

Permalink
fix: update Nix derivation to use new build (#344)
Browse files Browse the repository at this point in the history
* fix: update Nix derivation to use new build

---------

Co-authored-by: Steve Cohen <[email protected]>
  • Loading branch information
hauleth and scohen committed Aug 23, 2023
1 parent cb33a1e commit 3fa168d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
31 changes: 25 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions nix/lexical.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
installPhase = ''
runHook preInstall
mix release lexical --no-deps-check --path "$out"
mix do compile --no-deps-check, package --path "$out"
runHook postInstall
'';
Expand All @@ -29,6 +29,6 @@
substituteInPlace "$script" --replace 'ERL_EXEC="erl"' 'ERL_EXEC="${erlang}/bin/erl"'
done
wrapProgram $out/bin/lexical --set RELEASE_COOKIE lexical
makeWrapper $out/bin/start_lexical.sh $out/bin/lexical --set RELEASE_COOKIE lexical
'';
}

0 comments on commit 3fa168d

Please sign in to comment.