From b5975a2ee424b8c561af2dabc8230142139c1195 Mon Sep 17 00:00:00 2001 From: zuckerberg <5-zuckerberg@users.noreply.git.neet.dev> Date: Mon, 23 Aug 2021 17:14:36 -0400 Subject: [PATCH] fix --- common/server/drastikbot.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/server/drastikbot.nix b/common/server/drastikbot.nix index f3e33a2..2467c3b 100644 --- a/common/server/drastikbot.nix +++ b/common/server/drastikbot.nix @@ -14,14 +14,14 @@ let inputs.dailybuild_modules ]; - sourceRoot = pname; - nativeBuildInputs = [ pkgs.makeWrapper ]; - installPhase = '' - cp -r src $out/ + phases = [ "installPhase" ]; # Removes all phases except installPhase + installPhase = '' arr=($srcs) + mkdir -p $out/irc/modules + cp -r ''${arr[0]}/src/* $out/ cp -r ''${arr[1]}/* $out/irc/modules cp -r ''${arr[2]}/* $out/irc/modules