From a855ef85ea7f43cd81013ed1ba3e6e0c48b2ed99 Mon Sep 17 00:00:00 2001 From: michael bishop Date: Wed, 2 Mar 2016 13:48:27 -0400 Subject: [PATCH] multimc: fix building under chroot --- lib/maintainers.nix | 1 + pkgs/games/multimc/default.nix | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 408366475536..f4cbd25da809 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -68,6 +68,7 @@ chaoflow = "Florian Friesdorf "; chattered = "Phil Scott "; christopherpoole = "Christopher Mark Poole "; + cleverca22 = "Michael Bishop "; coconnor = "Corey O'Connor "; codsl = "codsl "; codyopel = "Cody Opel "; diff --git a/pkgs/games/multimc/default.nix b/pkgs/games/multimc/default.nix index c07a76d397d3..2e528a8203fe 100644 --- a/pkgs/games/multimc/default.nix +++ b/pkgs/games/multimc/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, qt5Full, jdk7, zlib, file, makeWrapper, xorg, libpulseaudio }: +{ stdenv, fetchFromGitHub, cmake, qt5Full, jdk7, zlib, file, makeWrapper, xorg, libpulseaudio, qt5 }: let libnbt = fetchFromGitHub { @@ -23,6 +23,8 @@ stdenv.mkDerivation { rmdir $sourceRoot/depends/libnbtplusplus cp -r ${libnbt} $sourceRoot/depends/libnbtplusplus chmod 755 -R $sourceRoot/depends/libnbtplusplus + mkdir -pv $sourceRoot/build/ + cp -v ${qt5.quazip.src} $sourceRoot/build/quazip-0.7.1.tar.gz ''; patches = [ ./multimc.patch ]; @@ -51,5 +53,6 @@ stdenv.mkDerivation { ''; platforms = stdenv.lib.platforms.linux; license = stdenv.lib.licenses.lgpl21Plus; + maintainers = stdenv.lib.maintainers.cleverca22; }; }