anchor.diff:              + lib.optionalString enableDebug "-debug" + "-${version}";
             inherit version;
             src = ./.;
  -          buildInputs = [ ctags ncurses ] ++ lib.optionals enablePython [
  +          buildInputs = [ stdenv ctags ncurses ] ++ lib.optionals enablePython [
               python3
               python3.pkgs.ctypesgen
               python3.pkgs.setuptools
  
positive.code:             (name: pkg: isCuda name && lib.elem pkgs.system pkg.meta.platforms)
              pkgs;
  
            eachBool = f: lib.concatMap f [ true false ];
            eachCuda = f: lib.concatMap f ([ null ] ++ lib.attrNames cudaAttrs);
            eachConfig = f:
              eachBool (enableDebug:
                eachCuda (cuda:
                  f (lib.optionalString (cuda != null) "-${shortenCuda cuda}"
                    + lib.optionalString enableDebug "-debug") {
                      inherit enableDebug;
                      enableCuda = cuda != null;
                      cudatoolkit = pkgs.${cuda};
                    }));
  
            # Runnable ctypesgen per python. Though it's just the executable we
            # need, it's possible something about ctypes library could change
  
negative.code:             hooks.yamllint.enable = true;
            };
  
          in pkgs.mkShellNoCC {
            inherit (pre-commit) shellHook;
  
            # Tempting to include bifrost-doc.buildInputs here, but that requires
  