15 Oct 2024 |
Whovian9369 | 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
...
| 01:04:22 |
| SigmaSquadron joined the room. | 03:06:55 |
SigmaSquadron | Hi all! Is there a binary cache for Lix somewhere? I'm trying to install Lix on a machine that doesn't really have enough resources to compile anything. | 03:07:53 |
SigmaSquadron | * Hi all! Is there a binary cache for Lix somewhere? I'm trying to install Lix on a machine that doesn't really have enough resources to compile anything.
Nevermind! I'm blind!
| 03:12:49 |
SigmaSquadron | I understand it was supposed to be somewhere on the NixOS installation instructions? https://git.lix.systems/danderson/lix-website/commit/2870e395cfc935dd0fe937351e46585592323365 | 03:13:20 |
| dish [Fox/It/She] joined the room. | 03:47:37 |
| 𝒕𝒂𝒏𝒗𝒊𝒓 changed their display name from Tanvir to 𝒕𝒂𝒏𝒗𝒊𝒓. | 16:06:53 |
| 𝒕𝒂𝒏𝒗𝒊𝒓 changed their profile picture. | 20:15:31 |
@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 | the reason that the binary cache is not in there is because it leads to people asking why it does not work | 21:21:16 |
@jade_:matrix.org | the binary cache only caches binaries built with the nixpkgs that lix was released with | 21:21:29 |
@jade_:matrix.org | this means it will not do anything useful for you | 21:21:38 |
@jade_:matrix.org | if you want a cached lix build, use the build of lix in nixpkgs. | 21:21:52 |
@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 | 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 | I'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 | it is on the install page as the very first paragraph | 21:26:00 |
@jade_:matrix.org | if 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 | oh | 21:26:50 |
@jade_:matrix.org | the lix from nixpkgs thing | 21:26:53 |
@jade_:matrix.org | yeah | 21:26:53 |
@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 | * 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 (tragedy arc) | Q: how urgent is nuking nix upgrade-nix ? | 21:29:31 |
@jade_:matrix.org | not very | 21:29:36 |
KFears (tragedy arc) | * Q: how urgent/nice is nuking nix upgrade-nix ? | 21:29:38 |
Whovian9369 | 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 (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 | i would not put it past a flakes command to be buggy, but it would need a repro | 21:35:33 |
@jade_:matrix.org | maybe WHEREIS_DEBUG=all ? | 21:36:03 |