anchor.diff:  
   
     # Write the references (i.e. the runtime dependencies in the Nix store) of `path' to a file.
  +
     writeReferencesToFile = path: runCommand "runtime-deps"
       {
         exportReferencesGraph = ["graph" path];
  
positive.code:       '') entries));
  
  
    # Print an error message if the file with the specified name and
    # hash doesn't exist in the Nix store. Do not use this function; it
    # produces packages that cannot be built automatically.
    requireFile = { name ? null
                  , sha256 ? null
                  , sha1 ? null
  
negative.code:       '';
  
  
    /*
     * Writes a text file to nix store with no optional parameters available.
     *
     * Example:
     * # Writes contents of file to /nix/store/<store path>
     * writeText "my-file"
     *   ''
     *   Contents of File
     *   '';
     *
    */
    writeText = name: text: writeTextFile {inherit name text;};
    /*
     * Writes a text file to nix store in a specific directory with no
     * optional parameters available. Name passed is the destination.
     *
     * Example:
     * # Writes contents of file to /nix/store/<store path>/<name>
     * writeTextDir "share/my-file"
     *   ''
     *   Contents of File
     *   '';
     *
    */
    writeTextDir = name: text: writeTextFile {inherit name text; destination = "/${name}";};
    /*
     * Writes a text file to /nix/store/<store path> and marks the file as executable.
     *
     * Example:
     * # Writes my-file to /nix/store/<store path>/bin/my-file and makes executable
     * writeScript "my-file"
     *   ''
     *   Contents of File
     *   '';
     *
    */
    writeScript = name: text: writeTextFile {inherit name text; executable = true;};
    /*
     * Writes a text file to /nix/store/<store path>/bin/<name> and
     * marks the file as executable.
     *
     * Example:
     * # Writes my-file to /nix/store/<store path>/bin/my-file and makes executable.
     * writeScript "my-file"
     *   ''
     *   Contents of File
     *   '';
     *
    */
    writeScriptBin = name: text: writeTextFile {inherit name text; executable = true; destination = "/bin/${name}";};
  
    /*
     * Writes a Shell script and check its syntax. Automatically includes interpreter
     * above the contents passed.
     *
     * Example:
     * # Writes my-file to /nix/store/<store path>/bin/my-file and makes executable.
     * writeScript "my-file"
     *   ''
     *   Contents of File
     *   '';
     *
    */
    writeShellScriptBin = name : text :
      writeTextFile {
        inherit name;
  