1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-12 13:36:02 +01:00
nix/src
Artturin 584dd39b4a Fix making the build directory kept by keep-failed readable
Caused by 1d3696f0fb

Without this fix the kept build directory is readable only by root

```
$ sudo ls -ld /comp-temp/nix-build-openssh-static-x86_64-unknown-linux-musl-9.8p1.drv-5
drwx------ root root 60 B Wed Sep 11 00:09:48 2024  /comp-temp/nix-build-openssh-static-x86_64-unknown-linux-musl-9.8p1.drv-5/

$ sudo ls -ld /comp-temp/nix-build-openssh-static-x86_64-unknown-linux-musl-9.8p1.drv-5/build
drwxr-xr-x nixbld1 nixbld 80 B Wed Sep 11 00:09:58 2024  /comp-temp/nix-build-openssh-static-x86_64-unknown-linux-musl-9.8p1.drv-5/build/
```

(cherry picked from commit ebebe626ff)
2024-09-11 12:54:12 +00:00
..
build-remote Factor out Machine::systemSupported 2024-01-23 12:53:51 -05:00
libcmd fetchToStore(): Don't always respect settings.readOnlyMode 2024-02-20 11:08:06 +00:00
libexpr builtins.addDrvOutputDependencies: fix commentary 2024-03-29 10:56:46 +00:00
libfetchers Fix fetchGit nested submodules 2024-05-09 09:13:59 +00:00
libmain Use buildprefix in a few more places 2023-11-29 19:49:07 -05:00
libstore Fix making the build directory kept by keep-failed readable 2024-09-11 12:54:12 +00:00
libutil Merge pull request from GHSA-q82p-44mg-mgh5 2024-06-26 18:49:22 -04:00
nix Use proper struct sockpeercred for SO_PEERCRED for OpenBSD 2024-07-03 15:57:06 +00:00
nix-build fix: check to see if there are any lines before 2024-08-19 14:28:15 +00: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 Handle the case where a parent of ~/.nix-defexpr is a symlink 2024-04-03 16:24:03 +00:00
nix-instantiate DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-store Factor our ServeProto::BasicServerConnection::handshake 2024-01-22 12:43:11 -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