anchor.diff:    '';
   
     installPhase = ''
  -    mkdir $out
  -    mv opt/StarUML $out/bin
  +    mkdir -p $out/bin
  +    mv opt $out
  +
  +    mv usr/share $out
  +    rm -rf $out/share/doc
  +
  +    substituteInPlace $out/share/applications/staruml.desktop \
  +      --replace "/opt/StarUML/staruml" "$out/bin/staruml"
   
       mkdir -p $out/lib
       ln -s ${stdenv.cc.cc.lib}/lib/libstdc++.so.6 $out/lib/
  
positive.code: { stdenv, lib, fetchurl, makeWrapper
  , dpkg, patchelf
  , gtk3, glib, systemd
  , xorg, nss, nspr
  , atk, at-spi2-atk, dbus
  
negative.code: 
      patchelf \
        --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
        $out/opt/StarUML/staruml
  
      ln -s $out/opt/StarUML/staruml $out/bin/staruml
    '';
  
    preFixup = ''
      gappsWrapperArgs+=(
        --prefix LD_LIBRARY_PATH ':' $out/lib:${LD_LIBRARY_PATH}
      )
    '';
  
    meta = with lib; {
  