parent
8ab48c32e7
commit
294d1f4c70
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, qtbase, makeWrapper, libX11 }:
|
{ stdenv, fetchFromGitHub, qtbase, qmakeHook, makeWrapper, libX11 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cmst-2016.01.28";
|
name = "cmst-2016.01.28";
|
||||||
|
@ -10,10 +10,9 @@ stdenv.mkDerivation rec {
|
||||||
owner = "andrew-bibb";
|
owner = "andrew-bibb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase makeWrapper ];
|
buildInputs = [ qtbase makeWrapper qmakeHook ];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
|
||||||
substituteInPlace ./cmst.pro \
|
substituteInPlace ./cmst.pro \
|
||||||
--replace "/usr/bin" "$out/bin" \
|
--replace "/usr/bin" "$out/bin" \
|
||||||
--replace "/usr/share" "$out/usr/share"
|
--replace "/usr/share" "$out/usr/share"
|
||||||
|
@ -29,14 +28,6 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace ./apps/rootapp/rootapp.pro \
|
substituteInPlace ./apps/rootapp/rootapp.pro \
|
||||||
--replace "/etc" "$out/etc" \
|
--replace "/etc" "$out/etc" \
|
||||||
--replace "/usr/share" "$out/share"
|
--replace "/usr/share" "$out/share"
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
runHook preBuild
|
|
||||||
qmake PREFIX=$out
|
|
||||||
make
|
|
||||||
runHook postBuild
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Reference in New Issue