Skip to content

Commit

Permalink
chore: Change binary name
Browse files Browse the repository at this point in the history
  • Loading branch information
haruki7049 committed May 6, 2024
1 parent a6a0948 commit 2f91b0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ self: super: {
runHook preInstall
mkdir -p $out/bin
cp surreal $out/bin/surrealdb
cp surreal $out/bin/surreal
runHook postInstall
'';

postFixup = ''
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$out/bin/surrealdb" || true
patchelf --set-rpath ${rpath} "$out/bin/surrealdb" || true
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$out/bin/surreal" || true
patchelf --set-rpath ${rpath} "$out/bin/surreal" || true
'';

meta = with super.lib; {
description =
"A scalable, distributed, collaborative, document-graph database, for the realtime web";
homepage = "https://surrealdb.com/";
mainProgram = "surrealdb";
mainProgram = "surreal";
license = licenses.bsl11;
};
};
Expand Down

0 comments on commit 2f91b0d

Please sign in to comment.