nix-super/src
Eelco Dolstra a18d8d688a LocalStore::addToStore(): Ignore exceptions from parseDump()
In the "discard" case (i.e. when the store path already exists
locally), when we call parseDump() from a Finally and it throws an
exception (e.g. if the download of the NAR fails), Nix crashes:

   terminate called after throwing an instance of 'nix::SubstituteGone'
     what():  error: file 'nar/06br3254rx4gz4cvjzxlv028jrx80zg5i4jr62vjmn416dqihgr7.nar.xz' does not exist in binary cache 'http://localhost'
   Aborted (core dumped)
2024-01-18 17:19:15 +01:00
..
build-remote Allow dynamic derivation deps in inputDrvs 2023-09-07 10:39:37 -04:00
libcmd DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
libexpr Merge pull request #9480 from NixOS/libfetchers-git-exportIgnore 2024-01-16 23:03:46 +01:00
libfetchers CanonPath: Add rel_c_str() 2024-01-12 22:55:37 +01:00
libmain Use buildprefix in a few more places 2023-11-29 19:49:07 -05:00
libstore LocalStore::addToStore(): Ignore exceptions from parseDump() 2024-01-18 17:19:15 +01:00
libutil Merge pull request #9798 from edolstra/remote-store-eof 2024-01-18 15:47:59 +01:00
nix DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-build DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-channel Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-collect-garbage Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
nix-copy-closure Restrict some code to StoreDirConfig 2023-11-04 19:05:36 -04:00
nix-env DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-instantiate DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-store Organize content addressing, use SourceAccessor with Store::addToStore 2023-12-18 10:41:54 -05:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00