16 Dec 2024 |
dom | thank you! that seems to have done the trick | 17:16:47 |
dom | really appreciate the help puck and K900, cheers | 17:18:07 |
| dom changed their display name from Dom H to dom. | 18:29:48 |
| @dmiskovic:matrix.org joined the room. | 21:27:33 |
17 Dec 2024 |
| Soliprem changed their display name from soliprem to Soliprem. | 18:35:42 |
| Soliprem changed their profile picture. | 18:36:26 |
aftix | update on my issue with ?rev=<rev> being added to flake.lock: i tried nix run nixpkgs#nix -- <cmd> and that cppnix is perfectly able to handle the lock files, this seems to just be an issue on github CI | 18:37:18 |
guiniol | Hi! I am new to nixos and lix and I am running into an issue compiling on an old NUC. If this is the wrong place for such a question, do tell me. I am trying to install mongodb, and compiling it is taking forever. I tried with the CE edition and that | 22:12:49 |
guiniol | the CE is precompiled which is great, but it crashloops. The regular version is coming on 24h of compilation and is still not done. So, I have a couple of questions: | 22:13:54 |
guiniol |
- I saw that there are public caches, but querying them requires the hash of whatever version of package I want, and I don't know how to get that. Is there an easy way to get the hash of a package that I want to install but haven't installed yet (or an easy way to query public caches)? Any recommendations for public caches?
| 22:15:13 |
K900 | 1) Absolutely don't do that | 22:15:26 |
K900 | The store hash is input addressed | 22:15:35 |
K900 | It does not verify the outputs of the build | 22:15:42 |
K900 | An untrusted cache can drop a reverse shell on your system | 22:15:52 |
guiniol | oh... so there could be anything in those caches | 22:15:59 |
guiniol | gotcha | 22:16:01 |
guiniol | so, my other solution would be to compile on a different host | 22:16:10 |
Niklas Korz | What crashes are you seeing with the mongodb-ce package? I've been running it for a week without issues, on NixOS 24.11 | 22:16:49 |
guiniol | but this is my only nixos host. I do have nix installed on my current PC, and I did manage to run nixos-rebuild via the nix-shell, but pushing it to the target host fails. I think I am hitting this bug: https://github.com/NixOS/nixpkgs/issues/282856 | 22:17:02 |
K900 | In reply to@guiniol:matrix.org but this is my only nixos host. I do have nix installed on my current PC, and I did manage to run nixos-rebuild via the nix-shell, but pushing it to the target host fails. I think I am hitting this bug: https://github.com/NixOS/nixpkgs/issues/282856 Use nixos-rebuild --build-host from the NUC instead | 22:17:34 |
guiniol | I couldn't even get an error message out of it. I am installing it for unifi and specified the CE version with mongodbPackage = pkgs.mongodb-ce; | 22:18:21 |
guiniol | In reply to @k900:0upti.me Use nixos-rebuild --build-host from the NUC instead That fails because the remote host (my PC) isn't running nix so whatever tries to check that it can build nixos thinks it can't | 22:19:25 |
K900 | What do you mean by "isn't running nix"? | 22:19:39 |
K900 | You said you have Nix installed on it | 22:19:42 |
guiniol | So. I have two host:
- an old NUC which does have nixos
- my PC which is running arch. I did install lix on it, but it seems it's not enough to be used as a build house | 22:20:50 |
guiniol | * So. I have two host:
- an old NUC which does have nixos
- my PC which is running arch. I did install lix on it, but it seems it's not enough to be used as a build host | 22:20:59 |
guiniol | nix store ping --store ssh://my-PC gives me a command not found: nix-store | 22:22:14 |
guiniol | mmh, so I guess I need to install that | 22:22:23 |
guiniol | as a shell alias or something via nix-shell | 22:22:32 |
K900 | It should be configured in your shell | 22:25:08 |