!OHimLTKAXNbFrEoogf:matrix.org

Nix Milan

129 Members
https://milano.nix.pizza/10 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
5 Nov 2025
@telegram_98204228:t2bot.ioAlessandro 🤔➖☀️🖌 btw dovrei essere appena riuscito ad abilitare ccache: serve passare un argomento extra (--bind x x) per bubblewrap quando si fa buildFHSEnv 15:16:18
@telegram_73824637:t2bot.ioAndrea Cicericredo che non ti andrebbe nemmeno senza fhs15:39:03
@telegram_73824637:t2bot.ioAndrea Cicerianche senza fhs il binario dipenderebbe da glibc o simili15:39:27
@telegram_73824637:t2bot.ioAndrea Ciceri Se il binario e' compilato staticamente probabilmente andra' (improbabile che lo sia)
Altrimenti potresti modificare usare removeReferencesTo sul binario per non farlo dipendere da niente.
Poi fai un'altra derivazione (normale, input addressed, anche solo con runCommand) che prende questo binario dalla derivazione fixed output e usa patchelf su di lui
15:38:46
@telegram_98204228:t2bot.ioAlessandro 🤔➖☀️🖌2.5h su un host abbastanza potente15:20:57
@telegram_73824637:t2bot.ioAndrea Ciceri comunque secondo me cosi' ti andra':
stdenv.mkDerivation {
  name = "cef";

  # This is a hack that should be fixed by envvar below
  GIT_SSL_NO_VERIFY=true;
  GIT_SSL_CAINFO = "${cacert}/etc/ssl/certs/ca-bundle.crt";
  SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
  CURL_CA_BUNDLE = "${cacert}/etc/ssl/certs/ca-bundle.crt";

  buildCommand = ''
    cp -r ${cefSrc}/* .
    ${cefBuildEnv}/bin/cefBuildEnv ${buildScript}
    mkdir -p $out
    cp -r tmp_download_dir/chromium/src/cef/binary_distrib $out/cef
  '';

  outputHash = lib.fakeHash;
  outputHashAlgo = "sha256";
  outputHashMode = "nar"; # nar: recursive Nix Archive
}
15:17:36

Show newer messages


Back to Room ListRoom Version: 10