sentencepiece: move gperftools from nativeBuildInputs to buildInputs

This commit is contained in:
Daniël de Kok 2021-01-08 11:16:34 +01:00
parent 24fb219e2c
commit d2e4f3c6d9

View file

@ -18,7 +18,9 @@ stdenv.mkDerivation rec {
hash = "sha256-xpVihdSpjO/mJWM5nzVg9CND3oAEdfCwXQW0jqLVDBA=";
};
nativeBuildInputs = [ cmake ] ++ lib.optional withGPerfTools gperftools;
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals withGPerfTools [ gperftools ];
outputs = [ "bin" "dev" "out" ];