git.iko.soy/typeable/nixpkgs
on master help sign in
caffe: Make 'bin' the first output

So ${caffe}/bin/foo always works in scripts.

commit9824ca6975fcbf5a2da9e6ba98dacafaa12bb1b3 authorTuomas Tynkkynen <tuomas@tuxera.com> dateWed 27 Sep 2017, 00:39 (9 years ago) parent206e4a6
1 file changed+2−3
pkgs/applications/science/math/caffe/default.nix+2−3
pkgs/applications/science/math/caffe/default.nix+2−3
@@ -46,9 +46,8 @@ stdenv.mkDerivation rec {
4646
4747 propagatedBuildInputs = lib.optional pythonSupport python.pkgs.protobuf;
4848
49− outputs = [ "out" "bin" ];
50− # Don't propagate bin.
51− outputBin = "out";
49+ outputs = [ "bin" "out"];
50+ propagatedBuildOutputs = []; # otherwise propagates out -> bin cycle
5251
5352 postInstall = ''
5453 # Internal static library.