Unverified Commit 716cab14 authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

Merge pull request #208429 from risicle/ris-opencolorio-1-fix-output-references

opencolorio_1: fix output references
parents 05c56f84 df3673d1
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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; {