lix/src
Eelco Dolstra fb2f7f5dcc Fix auto-uid-allocation in Docker containers
This didn't work because sandboxing doesn't work in Docker. However,
the sandboxing check is done lazily - after clone(CLONE_NEWNS) fails,
we retry with sandboxing disabled. But at that point, we've already
done UID allocation under the assumption that user namespaces are
enabled.

So let's get rid of the "goto fallback" logic and just detect early
whether user / mount namespaces are enabled.

This commit also gets rid of a compatibility hack for some ancient
Linux kernels (<2.13).
2023-02-07 22:51:53 +01:00
..
build-remote build-remote: Add brackets to error message 2022-11-04 10:49:44 -07:00
libcmd Merge pull request #7667 from dramforever/flake-search-attr 2023-02-01 15:56:22 +01:00
libexpr Fix clang compilation 2023-02-01 20:34:44 +01:00
libfetchers Allow to disable global flake-registry with "" 2022-12-12 15:32:02 +01:00
libmain Merge pull request #7203 from graham33/feature/cpp20 2023-02-01 15:41:04 +01:00
libstore Fix auto-uid-allocation in Docker containers 2023-02-07 22:51:53 +01:00
libutil Fix auto-uid-allocation in Docker containers 2023-02-07 22:51:53 +01:00
nix Merge pull request #7739 from obsidiansystems/user-settings 2023-02-03 11:55:37 +01:00
nix-build nix-shell: Colour the prompt red if the user is root 2023-02-01 20:50:44 +00:00
nix-channel Move the default profiles to the user’s home 2023-01-17 14:17:28 +01:00
nix-collect-garbage Add missing rethrows in conditional exception handlers 2022-06-10 10:52:41 -07:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env Revert "Revert "Merge pull request #6204 from layus/coerce-string"" 2023-01-19 13:23:04 +01:00
nix-instantiate Revert to copyStore = true for nix-instantiate and nix-env 2022-08-23 14:40:27 +02:00
nix-store Fix unused variable warning 2022-12-12 16:41:46 +01:00
resolve-system-dependencies Get rid of most .at calls (#6393) 2022-05-04 07:44:32 +02:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00