| 26 Mar 2024 |
eyJhb | :D | 11:02:54 |
atemu12 | https://killedbygoogle.com/ | 11:02:55 |
eyJhb | I don't think my ccache works Atemu ... :( | 11:03:11 |
atemu12 | Why? | 11:03:18 |
eyJhb | It should create some files in the directory, yeah? | 11:04:05 |
atemu12 | Yup | 11:04:15 |
eyJhb | nix.settings.extra-sandbox-paths = [
"/var/cache/ccache=/state/stash/stash/ccache/?"
];
| 11:04:17 |
eyJhb | In my config , switched, rebooted | 11:04:23 |
eyJhb | drwxr-xr-x 2 root nixbld 3 Mar 26 11:52 ccache
| 11:04:40 |
eyJhb | * drwxr-xr-x 2 root nixbld 3 Mar 26 11:52 ccache
| 11:04:43 |
eyJhb | eyjhb@chronos ~/stash> ls -al /state/stash/stash/ccache
total 10
drwxr-xr-x 2 root nixbld 3 Mar 26 11:52 .
drwxr-xr-x 29 eyjhb 1000 37 Mar 26 11:51 ..
-rw-r--r-- 1 root root 16 Mar 26 11:52 ccache.conf
| 11:04:47 |
atemu12 | You could try something like pkgs.runCommand "test" "touch /var/cache/ccache/testfile" as a test | 11:04:54 |
atemu12 | Whether the sandbox opening part works | 11:05:26 |
atemu12 | (Simply :b in a repl against Nixpkgs) | 11:05:47 |
eyJhb | Redacted or Malformed Event | 11:06:29 |
eyJhb | Why does it do that each time.. | 11:06:39 |
eyJhb | Redacted or Malformed Event | 11:06:40 |
eyJhb | I'm going insane | 11:06:48 |
atemu12 | Are you pressing shift? | 11:06:58 |
atemu12 | Enter will send | 11:07:12 |
eyJhb |
| 11:07:16 |
eyJhb | Yes | 11:07:19 |
eyJhb | BUt I guess too fast | 11:07:22 |
eyJhb | nix-repl> :b pkgs.runCommand "test" {} "touch /var/cache/ccache/testfile"
error: builder for '/nix/store/s1mfymgj63bvg9gwx3ryjd82bnxhv62b-test.drv' failed with exit code 1;
last 1 log lines:
> touch: cannot touch '/var/cache/ccache/testfile': Permission denied
For full logs, run 'nix log /nix/store/s1mfymgj63bvg9gwx3ryjd82bnxhv62b-test.drv'.
| 11:07:23 |
eyJhb | I'm not entirely friends with glove80 and qmk yet | 11:07:38 |
eyJhb | LEt me check permissions again. But they should be ok? | 11:07:57 |
atemu12 | drwxrwx--- 1 root nixbld 60 2023-11-19 19:42 /Volumes/Data/Ccache/ | 11:08:26 |
eyJhb | drwxr-xr-x 2 root nixbld 3 Mar 26 11:52 ccache | 11:08:56 |
eyJhb | Hmm, missing a w | 11:09:04 |
atemu12 | Well, that would do it :D | 11:09:12 |