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; propagatedBuildInputs = lib.optional pythonSupport python.pkgs.protobuf;
outputs = [ "out" "bin" ]; outputs = [ "bin" "out"];
# Don't propagate bin. propagatedBuildOutputs = []; # otherwise propagates out -> bin cycle
outputBin = "out";
postInstall = '' postInstall = ''
# Internal static library. # Internal static library.