mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 19:27:53 +00:00
Merge pull request #208429 from risicle/ris-opencolorio-1-fix-output-references
opencolorio_1: fix output references
This commit is contained in:
commit
716cab1403
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user