anchor.diff:  
     disallowedRequisites = documentation_deps;
   
  +  passthru.updateScript = writeScript "update.sh" ''
  +    #!/usr/bin/env nix-shell
  +    #!nix-shell -i bash -p curl common-updater-scripts
  +    version=$(list-git-tags https://gitlab.gnome.org/World/OpenPaperwork/paperwork.git | sed 's/^v//' | sort -V | tail -n1)
  +    update-source-version paperwork "$version" --file=pkgs/applications/office/paperwork/src.nix
  +    docs_version="$(curl https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/raw/$version/paperwork-gtk/src/paperwork_gtk/model/help/screenshot.sh | grep TEST_DOCS_TAG= | cut -d'"' -f2)"
  +    update-source-version paperwork.sample_docs "$docs_version" --file=pkgs/applications/office/paperwork/src.nix --version-key=rev
  +  '';
  +
     meta = {
       description = "A personal document manager for scanned documents";
       homepage = "https://openpaper.work/";
  
positive.code: 
      export XDG_DATA_DIRS=$XDG_DATA_DIRS:${gnome.adwaita-icon-theme}/share
      # build the user manual
      PATH=$out/bin:$PATH PAPERWORK_TEST_DOCUMENTS=${sample_documents} make data
      for i in src/paperwork_gtk/model/help/out/*.pdf; do
        install -Dt $site/model/help/out $i
      done
  
negative.code: , texlive
  , imagemagick
  , perlPackages
  , writeScript
  }:
  
  let
  