Skip to content

Commit

Permalink
caffe: Make 'bin' the first output
Browse files Browse the repository at this point in the history
So ${caffe}/bin/foo always works in scripts.
  • Loading branch information
dezgeg committed Sep 26, 2017
1 parent 206e4a6 commit 9824ca6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/applications/science/math/caffe/default.nix
Expand Up @@ -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.
Expand Down

0 comments on commit 9824ca6

Please sign in to comment.