nix: only install final qcc output, and install it into bin

This commit is contained in:
TimePath 2017-08-03 22:08:51 +10:00
parent 591141a9ad
commit 014a5cf156

View File

@ -23,7 +23,7 @@ let
];
env = {
QCC = "${gmqcc}/gmqcc";
QCC = "${gmqcc}/bin/gmqcc";
};
nativeBuildInputs = [
@ -78,8 +78,8 @@ let
src = ./gmqcc;
installPhase = ''
mkdir $out
cp -r . $out
mkdir -p $out/bin
cp gmqcc $out/bin
'';
};