From 24b418ac0a4f806817ea3bd9c43d54bcbf3e343d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 23 Oct 2022 11:12:24 +0100 Subject: [PATCH] fix build --- akkoma/default.nix | 2 ++ matrix/matrix-media-repo/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/akkoma/default.nix b/akkoma/default.nix index 969cf08..e1aa848 100644 --- a/akkoma/default.nix +++ b/akkoma/default.nix @@ -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"; diff --git a/matrix/matrix-media-repo/default.nix b/matrix/matrix-media-repo/default.nix index b1e6469..a30106d 100644 --- a/matrix/matrix-media-repo/default.nix +++ b/matrix/matrix-media-repo/default.nix @@ -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 {