!9IQChSjwSHXPPWTa:lix.systems

Lix

735 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms223 Servers

Load older messages


SenderMessageTime
16 Dec 2024
@dxmh:matrix.orgdomthank you! that seems to have done the trick17:16:47
@dxmh:matrix.orgdom really appreciate the help puck and K900, cheers 17:18:07
@dxmh:matrix.orgdom changed their display name from Dom H to dom.18:29:48
@dmiskovic:matrix.org@dmiskovic:matrix.org joined the room.21:27:33
17 Dec 2024
@soliprem:soliprem.euSoliprem changed their display name from soliprem to Soliprem.18:35:42
@soliprem:soliprem.euSoliprem changed their profile picture.18:36:26
@aftix:matrix.orgaftix 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:matrix.orgguiniolHi! 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 that22:12:49
@guiniol:matrix.orgguiniolthe 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:matrix.orgguiniol
  1. 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:0upti.meK9001) Absolutely don't do that22:15:26
@k900:0upti.meK900The store hash is input addressed22:15:35
@k900:0upti.meK900It does not verify the outputs of the build22:15:42
@k900:0upti.meK900An untrusted cache can drop a reverse shell on your system22:15:52
@guiniol:matrix.orgguinioloh... so there could be anything in those caches22:15:59
@guiniol:matrix.orgguiniolgotcha22:16:01
@guiniol:matrix.orgguiniolso, my other solution would be to compile on a different host22:16:10
@niklaskorz:korz.devNiklas KorzWhat crashes are you seeing with the mongodb-ce package? I've been running it for a week without issues, on NixOS 24.1122:16:49
@guiniol:matrix.orgguiniolbut 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/28285622:17:02
@k900:0upti.meK900
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:matrix.orgguiniol 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:matrix.orgguiniol
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:0upti.meK900What do you mean by "isn't running nix"?22:19:39
@k900:0upti.meK900You said you have Nix installed on it22:19:42
@guiniol:matrix.orgguiniolSo. 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 house22:20:50
@guiniol:matrix.orgguiniol* 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 host22:20:59
@guiniol:matrix.orgguiniol nix store ping --store ssh://my-PC gives me a command not found: nix-store 22:22:14
@guiniol:matrix.orgguiniolmmh, so I guess I need to install that22:22:23
@guiniol:matrix.orgguiniolas a shell alias or something via nix-shell22:22:32
@k900:0upti.meK900It should be configured in your shell 22:25:08

Show newer messages


Back to Room ListRoom Version: 10