opencolorio_1: fix output references
cmake files belong in the dev output, and need to have their references to binaries appropriately changed to the equivalent paths in the bin output
This commit is contained in:
@@ -33,7 +33,12 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DCMAKE_OSX_ARCHITECTURES=arm64";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $bin/bin; mv $out/bin $bin/
|
||||
moveToOutput bin "$bin"
|
||||
moveToOutput cmake "$dev"
|
||||
moveToOutput OpenColorIOConfig.cmake "$dev"
|
||||
|
||||
substituteInPlace "$dev/cmake/OpenColorIO-release.cmake" \
|
||||
--replace "$out/bin" "$bin/bin"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user