!9IQChSjwSHXPPWTa:lix.systems

Lix

637 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-rooms198 Servers

Load older messages


SenderMessageTime
16 Oct 2024
@kfears:matrix.orgKFears (tragedy arc) I suppose I can nix-env --uninstall the CppNix if I find it? lol 15:01:45
@charles:computer.surgeryCharles

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@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@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@jade_:matrix.org QuerySubstitutablePaths is literally only used by this thing 18:41:30
@hive:the-apothecary.clubLi-ion changed their profile picture.20:03:54
17 Oct 2024
@dmills27:matrix.orgDominic Mills set a profile picture.17:15:14
18 Oct 2024
@redsycamore:matrix.orgredsycamore joined the room.16:20:49
@redsycamore:matrix.orgredsycamoreHey there folks!16:20:58
@redsycamore:matrix.orgredsycamoreNeed a bit of a hand fixing my macOS aarch64 16:21:16
@redsycamore:matrix.orgredsycamoreI know there's been a new feature pushed to master to fix the sandboxing issue16:21:39
@redsycamore:matrix.orgredsycamorebut unfortunately I'm not sure the command to run16:21:48
@redsycamore:matrix.orgredsycamore I was imagining something like: nix flake update and then darwin-rebuild switch --flake flake.nix 16:22:08
@redsycamore:matrix.orgredsycamorecould be wrong?16:22:10
@redsycamore:matrix.orgredsycamoreadvice would be appreciated :)16:22:17
@redsycamore:matrix.orgredsycamorehttps://git.lix.systems/lix-project/lix/commit/52b64662a4924741e465b9caed6b2b4f8539aced16:23:05
@redsycamore:matrix.orgredsycamorethis is the commit I believe would fix it?16:23:11
@redsycamore:matrix.orgredsycamore after running the following commands, I still end up with sandbox initialization failed: Operation not permitted 16:24:33
@redsycamore:matrix.orgredsycamorehmm, here's my suspicion 18:48:28
@redsycamore:matrix.orgredsycamore
18:48:35
@redsycamore:matrix.orgredsycamore
    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:matrix.orgredsycamorecould this be an issue?18:48:42
@redsycamore:matrix.orgredsycamoreshould I be pointing at main or a branch instead of just a build artifact?18:48:53
@jade_:matrix.org@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@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@jade_:matrix.orgthere's a CI bug that i just found that is temporarily blocking that getting merged, but other than that, yeah.22:27:39
@aussiegeek:matrix.orgaussiegeek joined the room.22:35:53
@redsycamore:matrix.orgredsycamoreah gotcha!23:03:18
@redsycamore:matrix.orgredsycamoreokay, I'll move to main23:03:23
19 Oct 2024
@redsycamore:matrix.orgredsycamore
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

Show newer messages


Back to Room ListRoom Version: 10