Skip to content

Commit 9824ca6

Browse files
committedSep 26, 2017
caffe: Make 'bin' the first output
So ${caffe}/bin/foo always works in scripts.
1 parent 206e4a6 commit 9824ca6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎pkgs/applications/science/math/caffe/default.nix

+2-3
Original file line numberDiff line numberDiff line change
@@ -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.

0 commit comments

Comments
 (0)
Please sign in to comment.