!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

609 Members
121 Servers

Load older messages


SenderMessageTime
23 Apr 2024
@peacememories:fairydust.space@peacememories:fairydust.space joined the room.09:31:00
@peacememories:fairydust.space@peacememories:fairydust.space set a profile picture.10:29:28
@tanja-6584:matrix.orgTanja (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@lourkeur:nixos.dev left the room.14:29:06
@stablejoy:matrix.orgstablejoy changed their profile picture.08:59:02
25 Apr 2024
@pxc:matrix.orgpxc
In reply to @qyriad:katesiria.org
Your 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

this is my favorite commentary on the mutable state hidden in the Nix registry:

 nix.settings.flake-registry = __toFile "begone-evil.json" (__toJSON { flakes = [ ]; version = 2; });
03:26:52
@isabel:isabelroses.com@isabel:isabelroses.com joined the room.18:45:54
26 Apr 2024
@taffisher:matrix.org@taffisher:matrix.org joined the room.03:16:41
@axolotl:the-apothecary.club@axolotl:the-apothecary.club joined the room.05:19:24
@axolotl:the-apothecary.club@axolotl:the-apothecary.clubcould 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 fsrc05:26:13
@mfed3:matrix.orgmfed3 joined the room.05:26:22
@mfed3:matrix.orgmfed3 left the room.05:36:12
@twitchy0:matrix.orgtwitchy0
In reply to @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
does packageJSON = "${fsrc}/package.json"; work?
05:39:22
@mjolnir:nixos.orgNixOS Moderation Bot banned @ultranix:matrix.org@ultranix:matrix.org (<no reason supplied>).09:39:43
@stablejoy:matrix.orgstablejoy changed their profile picture.14:03:51
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.14:48:52
@axolotl:the-apothecary.club@axolotl:the-apothecary.club
In reply to @twitchy0:matrix.org
does packageJSON = "${fsrc}/package.json"; work?
yes, thank you.
15:07:40
@svrana:matrix.orgsvrana joined the room.16:00:26
@pxc:matrix.orgpxc changed their display name from pxc to pxc (why).23:32:10
@pxc:matrix.orgpxc changed their display name from pxc (why) to pxc.23:32:17
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to Qyriad (she/they).23:47:44
@qyriad:katesiria.orgQyriad changed their display name from Qyriad (she/they) to Qyriad.23:47:57
27 Apr 2024
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to Qyriad .00:01:06
@qyriad:katesiria.orgQyriad changed their display name from Qyriad to Qyriad.00:09:42
@pxc:matrix.orgpxc set a profile picture.00:46:05
@pxc:matrix.orgpxc removed their profile picture.00:48:05
@lychee:lefishe.club@lychee:lefishe.club left the room.14:36:57
@withoutwithin:matrix.org@withoutwithin:matrix.org left the room.16:03:44
@ygt:matrix.orgnadir joined the room.18:21:31
28 Apr 2024
@axolotl:the-apothecary.club@axolotl:the-apothecary.club left the room.06:00:26

Show newer messages


Back to Room ListRoom Version: 6