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 = { env = {
QCC = "${gmqcc}/gmqcc"; QCC = "${gmqcc}/bin/gmqcc";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -78,8 +78,8 @@ let
src = ./gmqcc; src = ./gmqcc;
installPhase = '' installPhase = ''
mkdir $out mkdir -p $out/bin
cp -r . $out cp gmqcc $out/bin
''; '';
}; };