!9IQChSjwSHXPPWTa:lix.systems

Lix

627 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-rooms196 Servers

Load older messages


SenderMessageTime
12 Oct 2024
@qbit:tapenet.orgqbitlel, same result14:16:30
@qbit:tapenet.orgqbitso i guess the underlying nix install is busted?14:48:00
@ocharles:matrix.orgocharlesVery vague one but maybe someone here can help... I recently (a month ago maybe?) saw a project that I think was some kind of alternative frontend to nixos-rebuild that showed version changes for apps that were upgraded. Does that ring a bell to anyone?15:36:58
@k900:0upti.meK900nvd? 15:37:48
@hexa:lossy.networkhexa
In reply to @hexa:lossy.network
  system.activationScripts.diff = {
    supportsDryActivation = true;
    text = ''
      PATH=${lib.makeBinPath (with pkgs; [ nvd config.nix.package ])}:$PATH
      if [[ -e /run/current-system ]]; then
        # ${config.nix.package}/bin/nix --extra-experimental-features nix-command store diff-closures /run/current-system "$systemConfig"
        nvd diff $(ls -dv /nix/var/nix/profiles/system-*-link | tail -2)
      fi
    '';
  };
^
15:39:53
@ocharles:matrix.orgocharles K900: This looks like it might be it, yea! Though I swore I saw it on GitHub 15:40:48
@ocharles:matrix.orgocharlesMaybe it was mirrored there though15:40:57
@hexa:lossy.networkhexacheck the snippet though 😄 15:41:05
@ocharles:matrix.orgocharlesYea that is cool :)15:42:11
@qbit:tapenet.orgqbitya, reinstalled nix and now it seems to be working15:42:32
@qbit:tapenet.orgqbitFAILED: doc/manual/nix-env-delete-generations.1 /private/tmp/nix-build-lix-2.91.0.drv-0/source/doc/manual/./render-manpage.sh --out-no-smarty 'nix-env --delete-generations' 1 doc/manual/markdown/command-ref/nix-env/delete-generations> sandbox initialization failed: Operation not permitted lowdown: sandbox_init: Operation not permitted 16:42:18
@qbit:tapenet.orgqbitcrap16:42:21
@qbit:tapenet.orgqbitmm, HEAD of lix builds fine17:52:12
@qbit:tapenet.orgqbitmaybe i should just switch to that17:52:17
@toxicfrog:ancilla.caToxicFrog So, running into an issue with imperative, per-user packages
Something that invokes the command-not-found handler results in messages saying to, e.g., use nix-env -iA nixpkgs.vim.out to install vim
Actually running it says that it can't resolve nixpkgs
$NIX_PATH includes nixpkgs=/etc/channels/nixos, but I gather that only works for <nixpkgs> and not for whatever nix-env is doing
So what am I missing here?
18:51:17
@toxicfrog:ancilla.caToxicFrog nix-env --install vim also doesn't work, and it seems like it should based on the man page. 18:52:00
@toxicfrog:ancilla.caToxicFrog nix-env --dry-run --install -A nixpkgs.vim as root instead gets me error: profile '/nix/var/nix/profiles/default' is incompatible with 'nix-env'; please use 'nix profile' instead 18:57:17
@toxicfrog:ancilla.caToxicFrogOk, after some experimentation, it looks like what's happening is that that user's home directory doesn't include a nix-profile19:07:55
@toxicfrog:ancilla.caToxicFrogSo nix-index displays the nix-env commands rather than the nix profile commands19:08:08
@toxicfrog:ancilla.caToxicFrog But nix-index still uses the flake registry or something to find the packages 19:08:22
@toxicfrog:ancilla.caToxicFrog So it tells the user to install nixpkgs.vim even though there is no nixpkgs channel on this machine 19:08:36
13 Oct 2024
@emma:rory.gayEmma [it/its] joined the room.05:27:11
@emma:rory.gayEmma [it/its]👋 lix/i686, should i expect it to work or not?05:32:59
@emma:rory.gayEmma [it/its]main reason im wondering is that it feels like lix is faster than stock cppnix05:41:40
@vigress9:matrix.orgV. 🏳️‍⚧️That is correct06:22:04
@kfears:matrix.orgKFears (tragedy arc)Made my first proper CL to Lix yesterday 🎉07:22:10
@kfears:matrix.orgKFears (tragedy arc)But sheesh, C++ feels so hard after you've used modern languages07:22:35
@kfears:matrix.orgKFears (tragedy arc)Maybe it's my setup (VSCodium with Clangd plugin), but Clangd LSP feels pretty barebones07:25:03
@aloisw:kde.orgaloisw
In reply to @emma:rory.gay
👋 lix/i686, should i expect it to work or not?
The main branch currently doesn't build on 32-bit platforms due to a bug.
08:51:40
@emma:rory.gayEmma [it/its]ah :c10:14:31

Show newer messages


Back to Room ListRoom Version: 10