!9IQChSjwSHXPPWTa:lix.systems

Lix

626 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-rooms195 Servers

Load older messages


SenderMessageTime
15 Oct 2024
@sigmasquadron:matrix.orgSigmaSquadronI understand it was supposed to be somewhere on the NixOS installation instructions? https://git.lix.systems/danderson/lix-website/commit/2870e395cfc935dd0fe937351e4658559232336503:13:20
@pyrox:pyrox.devdish [Fox/It/She] joined the room.03:47:37
@tanvir:hackliberty.org𝒕𝒂𝒏𝒗𝒊𝒓 changed their display name from Tanvir to 𝒕𝒂𝒏𝒗𝒊𝒓.16:06:53
@tanvir:hackliberty.org𝒕𝒂𝒏𝒗𝒊𝒓 changed their profile picture.20:15:31
@jade_:matrix.org@jade_:matrix.org
In reply to @sigmasquadron:matrix.org
I understand it was supposed to be somewhere on the NixOS installation instructions? https://git.lix.systems/danderson/lix-website/commit/2870e395cfc935dd0fe937351e46585592323365
no it is not.
21:21:02
@jade_:matrix.org@jade_:matrix.orgthe reason that the binary cache is not in there is because it leads to people asking why it does not work21:21:16
@jade_:matrix.org@jade_:matrix.org the binary cache only caches binaries built with the nixpkgs that lix was released with 21:21:29
@jade_:matrix.org@jade_:matrix.orgthis means it will not do anything useful for you21:21:38
@jade_:matrix.org@jade_:matrix.orgif you want a cached lix build, use the build of lix in nixpkgs.21:21:52
@jade_:matrix.org@jade_:matrix.org
In reply to @whovian9369:matrix.org

Is $ nix flake metadata --inputs-from . xyz expected to follow any inputs.xyz.inputs.abc.follows entries, or the original (pinned) input's values?

As a quick example...

$  nix flake metadata --inputs-from . nixpkgs
...
Last modified: 2024-10-09 12:51:18

$  nix flake metadata --inputs-from . lix
...
├───nixpkgs: github:NixOS/nixpkgs/e21630230c77140bc6478a21cd71e8bb73706fce
├   Last modified: 2024-07-25 14:26:27
...
i have no idea honestly. i do not wish to see or be seen by flakes. is it consistent with what would happen if you actually built something using those flags?
21:23:10
@jade_:matrix.org@jade_:matrix.org
In reply to @whovian9369:matrix.org

Is $ nix flake metadata --inputs-from . xyz expected to follow any inputs.xyz.inputs.abc.follows entries, or the original (pinned) input's values?

As a quick example...

$  nix flake metadata --inputs-from . nixpkgs
...
Last modified: 2024-10-09 12:51:18

$  nix flake metadata --inputs-from . lix
...
├───nixpkgs: github:NixOS/nixpkgs/e21630230c77140bc6478a21cd71e8bb73706fce
├   Last modified: 2024-07-25 14:26:27
...
* i have no idea honestly. is it consistent with what would happen if you actually built something using those flags?
21:23:19
@just1602:systemli.orgjust1602I'm wondering if a note about using "lix from nixpkgs" provide you cache build should not be added to the website / documentation, because the question seem to be asked pretty often here?21:25:32
@jade_:matrix.org@jade_:matrix.orgit is on the install page as the very first paragraph21:26:00
@jade_:matrix.org@jade_:matrix.orgif you have suggestions as to how to improve the page so people actually see it, please file a PR!21:26:38
@jade_:matrix.org@jade_:matrix.orgoh21:26:50
@jade_:matrix.org@jade_:matrix.orgthe lix from nixpkgs thing21:26:53
@jade_:matrix.org@jade_:matrix.orgyeah21:26:53
@jade_:matrix.org@jade_:matrix.org

but like, it seems like the thing we get here is "i used the nixos module and it did the thing documented at the top of the page".

nevertheless, i think that the nixos module instructions should certainly have lixFromNixpkgs added now, and someone should do that, and probably write the previous version of the instructions in some way that people don't accidentally follow them.

21:28:12
@jade_:matrix.org@jade_:matrix.org *

but like, it seems like the thing we get here is "i used the nixos module and it did the thing documented at the top of the page".

nevertheless, i think that the nixos module instructions should certainly have lixFromNixpkgs added now, and someone should do that, and probably write the previous version of the instructions in some way that people don't accidentally follow them when skimming.

21:28:22
@kfears:matrix.orgKFears (tragedy arc) Q: how urgent is nuking nix upgrade-nix? 21:29:31
@jade_:matrix.org@jade_:matrix.orgnot very21:29:36
@kfears:matrix.orgKFears (tragedy arc) * Q: how urgent/nice is nuking nix upgrade-nix? 21:29:38
@whovian9369:matrix.orgWhovian9369
In reply to @jade_:matrix.org
i have no idea honestly. is it consistent with what would happen if you actually built something using those flags?
I'm not sure - Doing nix build -L --no-link --inputs-from . lix and the same for lix-module seems to rebuild lix? Can't immediately confirm, but that's just my anecdotal experience with it.
21:34:43
@kfears:matrix.orgKFears (tragedy arc)

Misc bug (?) on NixOS:

$ whereis nix
nix: /etc/nix /nix/store/ry4i0aqv98yabkdlq8rd1nqa77xyz19m-system-path/bin/nix

I don't think /etc/nix belong here, like, at all

21:35:30
@jade_:matrix.org@jade_:matrix.orgi would not put it past a flakes command to be buggy, but it would need a repro21:35:33
@jade_:matrix.org@jade_:matrix.org maybe WHEREIS_DEBUG=all ? 21:36:03
@whovian9369:matrix.orgWhovian9369
In reply to @whovian9369:matrix.org
I'm not sure - Doing nix build -L --no-link --inputs-from . lix and the same for lix-module seems to rebuild lix? Can't immediately confirm, but that's just my anecdotal experience with it.
I'll double check later.
21:39:46
@whovian9369:matrix.orgWhovian9369
$  nix eval --inputs-from . --raw lix
warning: Git tree '/tmp/wat/My_Config_Flake-main.bundle_out' is dirty
/nix/store/h3lndwfn54dpfb2ncvb9jbzpvqflw9q7-lix-2.92.0-devpre20241014_326cbec

$  nix eval --inputs-from . --raw lix-module
warning: Git tree '/tmp/wat/My_Config_Flake-main.bundle_out' is dirty
/nix/store/5c585xp03rh11fb542q3xv64xyxx52r2-lix-2.92.0-dev-pre20240930-a16ceb9

Did this as a quick test, and they seem to throw different paths

21:42:13
@jade_:matrix.org@jade_:matrix.org
In reply to @kfears:matrix.org

Misc bug (?) on NixOS:

$ whereis nix
nix: /etc/nix /nix/store/ry4i0aqv98yabkdlq8rd1nqa77xyz19m-system-path/bin/nix

I don't think /etc/nix belong here, like, at all

i dont think this is a bug
21:42:35
@jade_:matrix.org@jade_:matrix.orgit is searching in /etc for things called nix21:42:44

Show newer messages


Back to Room ListRoom Version: 10