16 Oct 2024 |
KFears (tragedy arc) | I suppose I can nix-env --uninstall the CppNix if I find it? lol | 15:01:45 |
Charles | when building my system i've been seeing:
cp: cannot stat '/nix/store/aqb4cnbs22cm03v5sdxcz32hi3z1l5mr-source/host/compy/boot/ssh_host_ed25519_key': No such file or directory
warning: failed to create initrd secrets for "NixOS - Configuration 186", an older generation
note: this is normal after having removed or renamed a file in `boot.initrd.secrets
and i'm wondering what i need to do to fix it. not even the /nix/store/nix/store/aqb4cnbs22cm03v5sdxcz32hi3z1l5mr-source path exists. relevant part of my config is here: https://gitlab.computer.surgery/charles/dotfiles/-/blob/290496f58149acb41d136082743e7c698db140e0/host/compy/boot/default.nix#L58-59
any ideas?
| 18:22:21 |
@jade_:matrix.org | In reply to @daagaak:matrix.org Is there a quick way to tell whether lix thinks it can substitute a given derivation? One of my machines suddenly thinks it wants to rebuild all of my homelab from scratch but my local attic cache seems to have it cached. I can't work out why that one machine wants to rebuild everything. there is a nix-env command that will probably tell you this | 18:31:35 |
@jade_:matrix.org | nix-env -q , the -b flag:
• --prebuilt-only / -b
Show only derivations for which a substitute is registered, i.e., there is a pre-built
binary available that can be downloaded in lieu of building the derivation. Thus, this
shows all packages that probably can be installed quickly.
| 18:39:06 |
@jade_:matrix.org | QuerySubstitutablePaths is literally only used by this thing | 18:41:30 |
| Li-ion changed their profile picture. | 20:03:54 |
17 Oct 2024 |
| Dominic Mills set a profile picture. | 17:15:14 |
18 Oct 2024 |
| redsycamore joined the room. | 16:20:49 |
redsycamore | Hey there folks! | 16:20:58 |
redsycamore | Need a bit of a hand fixing my macOS aarch64 | 16:21:16 |
redsycamore | I know there's been a new feature pushed to master to fix the sandboxing issue | 16:21:39 |
redsycamore | but unfortunately I'm not sure the command to run | 16:21:48 |
redsycamore | I was imagining something like: nix flake update and then darwin-rebuild switch --flake flake.nix | 16:22:08 |
redsycamore | could be wrong? | 16:22:10 |
redsycamore | advice would be appreciated :) | 16:22:17 |
redsycamore | https://git.lix.systems/lix-project/lix/commit/52b64662a4924741e465b9caed6b2b4f8539aced | 16:23:05 |
redsycamore | this is the commit I believe would fix it? | 16:23:11 |
redsycamore | after running the following commands, I still end up with sandbox initialization failed: Operation not permitted | 16:24:33 |
redsycamore | hmm, here's my suspicion | 18:48:28 |
redsycamore |
| 18:48:35 |
redsycamore | lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};
| 18:48:38 |
redsycamore | could this be an issue? | 18:48:42 |
redsycamore | should I be pointing at main or a branch instead of just a build artifact? | 18:48:53 |
@jade_:matrix.org | In reply to @redsycamore:matrix.org https://git.lix.systems/lix-project/lix/commit/52b64662a4924741e465b9caed6b2b4f8539aced that would be correct. the fix is that you can either run master or you can wait for the backport to 2.91, which I just have to CI and do a release of. | 22:26:32 |
@jade_:matrix.org | In reply to @redsycamore:matrix.org https://git.lix.systems/lix-project/lix/commit/52b64662a4924741e465b9caed6b2b4f8539aced * that would be correct. the fix is that you can either run lix main (see the beta guide on the wiki under contributors) or you can wait for the backport to 2.91, which I just have to CI and do a release of. | 22:26:44 |
@jade_:matrix.org | there's a CI bug that i just found that is temporarily blocking that getting merged, but other than that, yeah. | 22:27:39 |
| aussiegeek joined the room. | 22:35:53 |
redsycamore | ah gotcha! | 23:03:18 |
redsycamore | okay, I'll move to main | 23:03:23 |
19 Oct 2024 |
redsycamore | In reply to @jade_:matrix.org that would be correct. the fix is that you can either run lix main (see the beta guide on the wiki under contributors) or you can wait for the backport to 2.91, which I just have to CI and do a release of. should I still be getting issues with main? | 00:20:27 |