hdf5: Use multiple outputs to reduce closure size

This commit is contained in:
Thomas Tuegel 2019-09-25 10:13:12 -05:00
parent 0f5769df77
commit 6cbf0b4bd2
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
inherit mpi;
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ removeReferencesTo ];
buildInputs = []
@ -51,6 +53,7 @@ stdenv.mkDerivation rec {
postInstall = ''
find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' +
moveToOutput bin/h5cc "''${!outputDev}"
'';
meta = {