hdf4: move libhdf4.settings to dev output
This avoids a reference to gcc-wrapper in the lib closure, significantly reducing closure size for downstream dependers. As far as I can tell, this file is only used by `h4cc -showconfig`, which was already not working as it has been checking the bin output. It's possible to fix that, but I'd prefer to just focus on the closure size reduction here since the h4cc path is a preexisting issue. Closure size of hdf4.out goes from 374 MB -> 40 MB
This commit is contained in:
@@ -79,6 +79,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput lib/libhdf4.settings "$dev"
|
||||
moveToOutput bin "$bin"
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user