anchor.diff:  
       cp -r schema $data_outputdir
     '';
  -}
  +}).overrideAttrs (_oldAttrs: attrOverrides)
  
positive.code:     cat databrary.conf
      ls -la $(dirname $socket_path)
      ls -la $socket_path
      # was only needed when trans scripts were being copied by data-files
      export dontPatchShebangs=1
    '';
    postBuild = ''
      kill -INT `head -1 $socket_path/postmaster.pid`
  
negative.code: , nodePackages, nodejs, dbName ? "databrary-nix-db", jdk
  , cpio, coreutils
  }:
  let
    # Override the drv with these attrs. (Can't put them in mkDerivation directly
    # because the Haskell-overridden function doesn't accept them.)
    attrOverrides = {
      # FIXME:kanishka what did this solve?
      dontPatchELF = true;
      # was only needed when trans scripts were being copied by data-files
      dontPatchShebangs = true;
    };
  in
  (mkDerivation rec {
    pname = "databrary";
    doHaddock = false;
    version = "1";
  