fix build

This commit is contained in:
Charlotte 🦝 Delenk 2022-10-23 11:12:24 +01:00
parent 55a8d6324f
commit 24b418ac0a
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 4 additions and 2 deletions

View file

@ -9,6 +9,7 @@
writeText,
writeScript,
applyPatches,
libxcrypt,
...
}: let
source = builtins.fromJSON (builtins.readFile ./source.json);
@ -72,6 +73,7 @@ in
postInstall = "mv $out/lib/erlang/lib/crypt-${version}/priv/{source,crypt}.so";
beamDeps = with final; [elixir_make];
buildInputs = [libxcrypt];
};
elasticsearch = beamPackages.buildMix rec {
name = "elasticsearch";

View file

@ -1,5 +1,5 @@
{
buildGoModule,
buildGo118Module,
git,
fetchFromGitHub,
lib,
@ -7,7 +7,7 @@
}: let
source = builtins.fromJSON (builtins.readFile ./source.json);
in
buildGoModule rec {
buildGo118Module rec {
pname = "matrix-media-repo";
version = source.date;
src = fetchFromGitHub {