From: TimePath Date: Thu, 3 Aug 2017 12:08:51 +0000 (+1000) Subject: nix: only install final qcc output, and install it into bin X-Git-Tag: xonotic-v0.8.5~192 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=014a5cf15637aa5596156a761461651d9d40e73f;p=xonotic%2Fxonotic.git nix: only install final qcc output, and install it into bin --- diff --git a/default.nix b/default.nix index 6e954f4c..4ee0c65a 100644 --- a/default.nix +++ b/default.nix @@ -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 ''; };