19 Oct 2024 |
@jade_:matrix.org | nope, it should be fixed on main | 00:20:46 |
redsycamore | weird, still having issues | 00:24:31 |
redsycamore | jade_: I added lix and lix-module with their main.tar.gz | 00:24:47 |
redsycamore | called nix flake update | 00:24:55 |
redsycamore | but still getting something like
> sandbox initialization failed: Operation not permitted
> lowdown: sandbox_init: Operation not permitted
| 00:25:47 |
redsycamore | fyi, it's totally not urgent if you have midterms or something else to worry about | 00:26:00 |
@jade_:matrix.org | hmmm. that's really weird. how are you installing lix? nix-darwin? | 00:29:31 |
redsycamore | nix-darwin | 00:29:38 |
@jade_:matrix.org | mmm. is your config public? i can try to poke it in the repl for answers | 00:30:06 |
redsycamore | hmm, updated one line and it worked lol! | 00:31:29 |
redsycamore | lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
inputs.lix.follows = "lix";
};
I think it was inputs.lix.follows = "lix"; that I added
| 00:31:45 |
redsycamore | weird | 00:31:46 |
redsycamore | Nix is still kind of a black box to me | 00:31:59 |
@jade_:matrix.org | aha yeah | 00:32:06 |
@jade_:matrix.org | what that did was make the lix used by the overlay in the nixos-module be the one you have as the "lix" input | 00:32:20 |
@jade_:matrix.org | the nixos-module overlay is where your lix ultimately came from | 00:32:32 |
@jade_:matrix.org | so you had an old lix version by accident basically | 00:32:43 |
redsycamore | oh, that makes sense | 00:38:29 |
redsycamore | thanks for explaining that one :) | 00:38:38 |
redsycamore | my lix setup is now back to normal | 00:38:45 |
redsycamore | In reply to @jade_:matrix.org what that did was make the lix used by the overlay in the nixos-module be the one you have as the "lix" input to be honest, I'm not sure I entirely get what a nixes-module is | 03:12:52 |
@jade_:matrix.org | https://git.lix.systems/lix-project/nixos-module/src/branch/main/flake.nix#L20
it is a nixos module that applies a nixpkgs overlay. lix sources are injected into the module, which then passes them to the overlay which then puts lix into your nixpkgs while evaluating your configuration | 03:17:10 |
redsycamore | oh that's interesting | 03:22:20 |
redsycamore | and this option builds Lix every time instead of using the one packaged on nixpkgs right? | 03:22:46 |
@jade_:matrix.org | yes | 03:23:01 |
@jade_:matrix.org | Lix 2.91.1 is now out with the fix you want anyhow, but the lixFromNixpkgs overlay probably fixed it regardless | 03:23:23 |
@jade_:matrix.org | * Lix 2.91.1 is now out with the fix you want anyhow, but the lixFromNixpkgs overlay probably fixed it even before that | 03:23:27 |
redsycamore | I think I'm gonna be adventurous and ride the main | 03:27:12 |
redsycamore | it's too exciting to pass up | 03:27:35 |
Darohan | Anyone else having a hard time installing the new Lix release? Both on a device that previously didn't have Lix, and one upgrading from 2.91.0, I get the error error: attribute 'stable_upstream' missing - both using a NixOS Flake. Scrolled up a ways in this chat, and did some googling, but it doesn't seem like anyone else is having this?
| 06:13:24 |