multimc: fix building under chroot

This commit is contained in:
michael bishop 2016-03-02 13:48:27 -04:00
parent ba05826707
commit a855ef85ea
No known key found for this signature in database
GPG key ID: C294FC1A485A409A
2 changed files with 5 additions and 1 deletions

View file

@ -68,6 +68,7 @@
chaoflow = "Florian Friesdorf <flo@chaoflow.net>";
chattered = "Phil Scott <me@philscotted.com>";
christopherpoole = "Christopher Mark Poole <mail@christopherpoole.net>";
cleverca22 = "Michael Bishop <cleverca22@gmail.com>";
coconnor = "Corey O'Connor <coreyoconnor@gmail.com>";
codsl = "codsl <codsl@riseup.net>";
codyopel = "Cody Opel <codyopel@gmail.com>";

View file

@ -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;
};
}