anchor.diff:    ];
   
     installPhase = ''
  +    runHook preInstall
       mkdir -p $out/bin
       cp src/FIRESTARTER${lib.optionalString withCuda "_CUDA"} $out/bin/
  +    runHook postInstall
  +  '';
  +
  +  postFixup = lib.optionalString withCuda ''
  +    addOpenGLRunpath $out/bin/FIRESTARTER_CUDA
     '';
   
     meta = with lib; {
  
positive.code: , lib
  , fetchFromGitHub
  , fetchzip
  , cmake
  , glibc_multi
  , glibc
  
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"
  