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

View file

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