lix/src
Maximilian Bosch 0872659002
nix repl: properly deal with interruptions
When I stop a download with Ctrl-C in a `nix repl` of a flake, the REPL
refuses to do any other downloads:

    nix-repl> builtins.getFlake "nix-serve"
    [0.0 MiB DL] downloading 'https://api.github.com/repos/edolstra/nix-serve/tarball/e9828a9e01a14297d15ca41 error: download of 'e9828a9e01' was interrupted
    [0.0 MiB DL]
    nix-repl> builtins.getFlake "nix-serve"
    error: interrupted by the user
    [0.0 MiB DL]

To fix this issue, two changes were necessary:

* Reset the global `_isInterrupted` variable: only because a single
  operation was aborted, it should still be possible to continue the
  session.
* Recreate a `fileTransfer`-instance if the current one was shut down by
  an abort.
2021-10-07 23:58:02 +02:00
..
build-remote copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libcmd std::visit by reference 2021-09-30 21:35:09 +00:00
libexpr Make builtins.{path,filterSource} work with chroot stores 2021-10-07 14:22:39 +02:00
libfetchers Explicitly set initial branch name for git 2021-09-24 22:09:49 +08:00
libmain Merge pull request #5224 from baloo/baloo/5089/force-nss_dns-load 2021-09-09 10:37:41 +02:00
libstore nix repl: properly deal with interruptions 2021-10-07 23:58:02 +02:00
libutil Don't reset the logger in a vfork 2021-10-06 13:54:59 +02:00
nix nix repl: properly deal with interruptions 2021-10-07 23:58:02 +02:00
nix-build nix-shell --pure: Let it work for any derivation 2021-08-06 15:30:49 -07:00
nix-channel Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-collect-garbage Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env Fix quotes 2021-09-14 19:48:16 +02:00
nix-instantiate nix-instantiate: Fix --eval-store 2021-07-27 11:16:47 +02:00
nix-store nix-store --serve: pass on settings.keepFailed from SSH store 2021-08-31 13:11:46 +02:00
nlohmann nlohmann_json: Update to 3.9.1, fix use of internal copy 2021-07-15 12:25:53 +02:00
resolve-system-dependencies Apply OS checks to host platform, not build 2021-06-23 15:00:36 +00:00