diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-09-27 00:39:55 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-09-27 00:39:55 +0300 |
commit | 9824ca6975fcbf5a2da9e6ba98dacafaa12bb1b3 (patch) | |
tree | 8889a51031b3ed95abca54e29b4acbcb60027676 /pkgs/applications/science/math/caffe | |
parent | 206e4a6d69f25e47254bbd33f935f85d97441259 (diff) |
caffe: Make 'bin' the first output
So ${caffe}/bin/foo always works in scripts.
Diffstat (limited to 'pkgs/applications/science/math/caffe')
-rw-r--r-- | pkgs/applications/science/math/caffe/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/science/math/caffe/default.nix b/pkgs/applications/science/math/caffe/default.nix index 5c6fe9c573d5e..cb28d38bf1d09 100644 --- a/pkgs/applications/science/math/caffe/default.nix +++ b/pkgs/applications/science/math/caffe/default.nix @@ -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. |