caffe: Make 'bin' the first output

So ${caffe}/bin/foo always works in scripts.
This commit is contained in:
Tuomas Tynkkynen 2017-09-27 00:39:55 +03:00
parent 206e4a6d69
commit 9824ca6975

View file

@ -46,9 +46,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = lib.optional pythonSupport python.pkgs.protobuf;
outputs = [ "out" "bin" ];
# Don't propagate bin.
outputBin = "out";
outputs = [ "bin" "out"];
propagatedBuildOutputs = []; # otherwise propagates out -> bin cycle
postInstall = ''
# Internal static library.