anchor.diff:  , lib
   , fetchFromGitHub
   , fetchzip
  +, addOpenGLRunpath
   , cmake
   , glibc_multi
   , glibc
  
positive.code:   ];
  
    installPhase = ''
      mkdir -p $out/bin
      cp src/FIRESTARTER${lib.optionalString withCuda "_CUDA"} $out/bin/
    '';
  
    meta = with lib; {
  
negative.code:     fetchSubmodules = true;
    };
  
    nativeBuildInputs = [
      cmake
      git
      pkg-config
    ] ++ lib.optionals withCuda [
      addOpenGLRunpath
    ];
  
    buildInputs = [ hwloc ] ++ (if withCuda then
      [ glibc_multi cudatoolkit ]
    else
      [ glibc.static ]);
  
    NIX_LDFLAGS = lib.optionals withCuda [
      "-L${cudatoolkit}/lib/stubs"
    ];
  
    cmakeFlags = [
      "-DFIRESTARTER_BUILD_HWLOC=OFF"
  