Skip to content

Commit

Permalink
hoge
Browse files Browse the repository at this point in the history
  • Loading branch information
haruki7049 committed Oct 20, 2024
1 parent 109798c commit 2d9c175
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
self: super:
let
mkBinaryInstall-x86_64-linux = super.callPackage ./nix/mkBinaryInstall.x86_64-linux.nix { };
mkBinaryInstall = super.callPackage ./nix/mkBinaryInstall.nix { };
in
{
surrealdb = {
"1.4.2" = mkBinaryInstall-x86_64-linux {
"1.4.2" = mkBinaryInstall {
version = "1.4.2";
url = "https://github.com/surrealdb/surrealdb/releases/download/v1.4.2/surreal-v1.4.2.linux-amd64.tgz";
sha256 = "10hswwyckfcysindffiaf8z8g0lib800j1id8pws70250s4dz895";
Expand Down
15 changes: 15 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@
inputs.treefmt-nix.flakeModule
];

flake.overlays.surrealdb-overlay =
self: super:
let
mkBinaryInstall = super.callPackage ./nix/mkBinaryInstall.nix { };
in
{
surrealdb = {
"1.4.2" = mkBinaryInstall {
version = "1.4.2";
url = "https://github.com/surrealdb/surrealdb/releases/download/v1.4.2/surreal-v1.4.2.linux-amd64.tgz";
sha256 = "10hswwyckfcysindffiaf8z8g0lib800j1id8pws70250s4dz895";
};
};
};

perSystem =
{ pkgs, ... }:
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
rpath ? lib.makeLibraryPath [ gcc-unwrapped ],
gcc-unwrapped,
}:

{
pname ? "surrealdb",
version,
Expand Down

0 comments on commit 2d9c175

Please sign in to comment.