anchor.diff:  
     outputs = { self, nixpkgs, crunch, netradiant, sloth }:
       let
  -      pkgs = nixpkgs.legacyPackages.x86_64-linux;
  +      lib = nixpkgs.legacyPackages.x86_64-linux.lib;
       in {
   
  -      packages.x86_64-linux = {
  +      packages = lib.mapAttrs (system: pkgs: {
           iqmtool =
             pkgs.stdenv.mkDerivation {
               name = "iqmtool";
  
positive.code:           ];
  
            propagatedBuildInputs = with pkgs; [
              netradiant.packages.x86_64-linux.quake-tools
              crunch.defaultPackage.x86_64-linux
              sloth.defaultPackage.x86_64-linux
              opusTools
              libwebp
            ];
  
negative.code:           '';
          };
  
          crunch = crunch.defaultPackage."${system}";
          sloth = sloth.defaultPackage."${system}";
        } // netradiant.packages."${system}") nixpkgs.legacyPackages;
  
        apps = lib.mapAttrs (system: pkgs: {
          iqmtool = {
            type = "app";
            program = "${self.packages."${system}".iqmtool}/bin/iqmtool";
          };
  
          urcheon = {
            type = "app";
            program = "${self.packages."${system}".urcheon}/bin/urcheon";
          };
  
          esquirel = {
            type = "app";
            program = "${self.packages."${system}".urcheon}/bin/esquirel";
          };
  
          crunch = crunch.defaultApp."${system}";
          sloth = sloth.defaultApp."${system}";
        }) nixpkgs.legacyPackages;
  
      };
  }
  