anchor.diff:          build = nixpkgs.lib.genAttrs systems (system: nixpkgsFor.${system}.nix);
   
           # Perl bindings for various platforms.
  -        perlBindings = nixpkgs.lib.genAttrs systems (system: nixpkgsFor.${system}.nix-perl);
  +        perlBindings = nixpkgs.lib.genAttrs systems (system: nixpkgsFor.${system}.nix.perl-bindings);
   
           # Binary tarball for various platforms, containing a Nix store
           # with the closure of 'nix' package, and the second half of
  
positive.code:       };
  
        packages = {
          inherit (nixpkgsFor.x86_64-linux) nix nix-perl;
        };
  
        defaultPackage = self.packages.nix;
  
negative.code: 
            doInstallCheck = true;
            installCheckFlags = "sysconfdir=$(out)/etc";
          }) // {
  
            perl-bindings = with final; releaseTools.nixBuild {
              name = "nix-perl";
              src = self.hydraJobs.tarball;
  
              buildInputs =
                [ nix curl bzip2 xz pkgconfig pkgs.perl boost ]
                ++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium;
  
              configureFlags = ''
                --with-dbi=${perlPackages.DBI}/${pkgs.perl.libPrefix}
                --with-dbd-sqlite=${perlPackages.DBDSQLite}/${pkgs.perl.libPrefix}
              '';
  
              enableParallelBuilding = true;
  
              postUnpack = "sourceRoot=$sourceRoot/perl";
            };
  
          };
  
        };
  