diff --git a/default.nix b/default.nix index 6e954f4..4ee0c65 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 ''; };