Sender | Message | Time |
---|---|---|
22 Apr 2024 | ||
sam | I'm a little bit confused on the difference between registries and channels, and which are considered immutable | 12:36:20 |
sam | Also, if that's the case, why does nix build sometimes fetch nixpkgs from GitHub, even though the channel hasn't changed? | 12:37:08 |
sam | I believe I have a case on my machine where nix build nixpkgs#foo works, but nix-build <nixpkgs> -A foo does not work (build error) | 12:39:05 |
sam | nix build --impure --expr '(import <nixpkgs> {}).foo' also encounters a build error. How can this kind of error be reproduced on another machine? | 12:45:27 |
Qyriad | In reply to@charmonium:matrix.orgYour confusion is understandable, because this is, imho, a major design flaw in the flake registry. Unlike channels the online flake registry doesn't even require a user command to mutate, it simply does | 14:50:54 |
Qyriad | On NixOS unstable, and the next NixOS release, this issue will be worked around to be much less confusing; flake:nixpkgs and <nixpkgs> will both point to the nixpkgs your system was built with: https://github.com/NixOS/nixpkgs/pull/254405 | 14:52:19 |
23 Apr 2024 | ||
nim65s changed their display name from Guilhem to nim65s. | 07:52:53 | |
peacememories (Old) changed their display name from peacememories to peacememories (Old). | 09:25:38 | |
@peacememories:fairydust.space joined the room. | 09:31:00 | |
@peacememories:fairydust.space set a profile picture. | 10:29:28 | |
Tanja (Old; I'm now @tanja:catgirl.cloud) changed their display name from Tanja (Old) to Tanja (Old; I'm now @tanja:catgirl.cloud). | 12:30:44 | |
24 Apr 2024 | ||
@lourkeur:nixos.dev left the room. | 14:29:06 | |
stablejoy changed their profile picture. | 08:59:02 | |
25 Apr 2024 | ||
pxc | In reply to @qyriad:katesiria.org this is my favorite commentary on the mutable state hidden in the Nix registry:
| 03:26:52 |
@isabel:isabelroses.com joined the room. | 18:45:54 | |
26 Apr 2024 | ||
@taffisher:matrix.org joined the room. | 03:16:41 | |
@axolotl:the-apothecary.club joined the room. | 05:19:24 | |
@axolotl:the-apothecary.club | could someone explain why the expression at https://codeberg.org/shitpostalotl/bespoke/src/branch/main/pkgs/greenfield.nix#L7 evaluates to false? the situation is that a flake input representing greenfield's source repo is passed as an arg to the derivation as fsrc. as you can see, i'm trying to reference a file in the source repo by path. however, fsrc always evaluates to a nonexistant "nix" subdirectory in the source, while any functions which take it as an argument always return the store path of that flake instead of fsrc | 05:26:13 |
mfed3 joined the room. | 05:26:22 | |
mfed3 left the room. | 05:36:12 | |
twitchy0 | In reply to @axolotl:the-apothecary.clubdoes packageJSON = "${fsrc}/package.json"; work? | 05:39:22 |
NixOS Moderation Bot banned @ultranix:matrix.org (<no reason supplied>). | 09:39:43 | |
stablejoy changed their profile picture. | 14:03:51 | |
@federicodschonborn:matrix.org changed their profile picture. | 14:48:52 | |
@axolotl:the-apothecary.club | In reply to @twitchy0:matrix.orgyes, thank you. | 15:07:40 |
svrana joined the room. | 16:00:26 | |
pxc changed their display name from pxc to pxc (why). | 23:32:10 | |
pxc changed their display name from pxc (why) to pxc. | 23:32:17 | |
Qyriad changed their display name from Qyriad to Qyriad (she/they). | 23:47:44 | |
Qyriad changed their display name from Qyriad (she/they) to Qyriad. | 23:47:57 |