| 25 Oct 2023 |
Artturin | https://github.com/NixOS/ofborg/blob/de415d372959b7e6fc6b2f6c95f0c21e5010348d/ofborg/src/nix.rs#L842-L854 | 03:04:53 |
Artturin | https://github.com/NixOS/ofborg/blob/de415d372959b7e6fc6b2f6c95f0c21e5010348d/ofborg/test-srcs/build/default.nix#L19-L25 | 03:08:46 |
Artturin | What's even the supposed sandbox violation in that test | 03:23:14 |
Artturin | Redacted or Malformed Event | 03:33:32 |
Artturin | https://github.com/nixos/nix/commit/dd93c12c6a3ebf5b52fe7045d708ed10f6acd0dd this could be the cause | 04:00:30 |
Artturin | Nah it shouldn't | 04:02:29 |
Artturin | The commit that one is reverting is https://github.com/nixos/nix/commit/1cba5984a68a489c4a56691032e4c87991c678f4 | 04:04:17 |
Artturin | github shows it was in 2.14.0 | 04:04:38 |
Artturin | while 23.05 is on 2.13.6 | 04:05:06 |
Artturin | changing the nix version in flake
2_14,2_15 works
2_16 fails | 04:10:03 |
Artturin | * changing the nix version in flake
2_15 works
2_16 fails | 04:11:15 |
Artturin | good 2.15.2(.3 too probably), bad 2.16.1(and .0)+ | 04:16:59 |
Artturin | * good 2.15.2(.3 too probably), bad 2.16.1(and .0)+ | 04:17:07 |
Artturin | Can't the non-failure with
derivation {
name = "sandbox-violation";
system = builtins.currentSystem;
src = ./../../../lib;
builder = builtins.storePath <bash>;
args = [ "-c" "echo hi; echo ${toString builtins.currentTime} > $out" ];
}
in depth0/depth1/depth3/default.nix in nixpkgs
$ nix shell "nixpkgs#nixVersions.nix_2_16" --command nix-build depth0/depth1/depth3/default.nix -I "bash=$(command -v bash)" --option restrict-eval true
error: access to absolute path '/home/artturin/nixgits/my-nixpkgs/depth0/depth1/depth3/default.nix' is forbidden in restricted mode
| 04:38:26 |
Artturin | * Can't repro the non-failure with
derivation {
name = "sandbox-violation";
system = builtins.currentSystem;
src = ./../../../lib;
builder = builtins.storePath <bash>;
args = [ "-c" "echo hi; echo ${toString builtins.currentTime} > $out" ];
}
in depth0/depth1/depth3/default.nix in nixpkgs
$ nix shell "nixpkgs#nixVersions.nix_2_16" --command nix-build depth0/depth1/depth3/default.nix -I "bash=$(command -v bash)" --option restrict-eval true
error: access to absolute path '/home/artturin/nixgits/my-nixpkgs/depth0/depth1/depth3/default.nix' is forbidden in restricted mode
| 04:38:36 |
| 26 Oct 2023 |
pbsds | error: writing to file: No space left on device on aarch64-darwin: https://logs.ofborg.org/?key=nixos/nixpkgs.257760&attempt_id=2f9c3138-239d-428b-980a-22b9604619b1 | 11:21:20 |
hexa | In reply to @hexa:lossy.network https://github.com/NixOS/nixpkgs/pull/263041/checks?check_run_id=17994139695 recurrening event | 11:48:57 |