anchor.diff:  , nodePackages, nodejs, dbName ? "databrary-nix-db", jdk
   , cpio, coreutils
   }:
  -mkDerivation rec {
  +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";
  
positive.code: 
      cp -r schema $data_outputdir
    '';
  }
  
negative.code:     cat databrary.conf
      ls -la $(dirname $socket_path)
      ls -la $socket_path
    '';
    postBuild = ''
      kill -INT `head -1 $socket_path/postmaster.pid`
  