!UUqahLbShAYkkrXmKs:matrix.org

DevOS

36 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
5 Jul 2021
@fufexan:matrix.orgfufexan you mean this? packages = utils.lib.exporters.fromOverlays (builtins.trace self.overlays) channels; 19:59:53
@gtrunsec:matrix.org@gtrunsec:matrix.orgIs it a good example to here? https://github.com/hardenedlinux/nixpkgs-hardenedlinux20:03:24
@gtrunsec:matrix.org@gtrunsec:matrix.orgI'm not sure if this will help you understand the fup20:04:15
@fufexan:matrix.orgfufexanI already use fup in my nixos config20:04:45
@fufexan:matrix.orgfufexanthe thing is, I have some of the apps I wanna package here in that repo and it all works fine, and I don't know why it doesn't in this repo20:05:10
@gtrunsec:matrix.org@gtrunsec:matrix.orgI know, that is what I did.20:07:46
@fufexan:matrix.orgfufexanhold on, I'll modify the structure to match my dotfiles and see if anything happens20:08:45
@pachumicchu:myrdd.infoPacman99
In reply to @fufexan:matrix.org
but packages.${system} is empty 🤔
Have you applied any overlays to your channel?
20:09:10
@fufexan:matrix.orgfufexannope, I just found that out20:10:34
@fufexan:matrix.orgfufexanit seems to be working when I add them20:10:48
@blaggacao:matrix.orgDavid Arnold (blaggacao)Alright, strange the error then, though.20:14:10
@blaggacao:matrix.orgDavid Arnold (blaggacao) Would a code branch help that checks for self.overlays being different from {}? 20:15:04
@fufexan:matrix.orgfufexanI believe so20:15:36
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Would a code branch help that asserts for `self.overlays` being different from `{}`?20:15:40
@fufexan:matrix.orgfufexan well maybe not really, since it says value is a function, not a set 20:16:02
@fufexan:matrix.orgfufexan * well maybe not really, since it says value is a function while a set was expected 20:16:14
@blaggacao:matrix.orgDavid Arnold (blaggacao)That's the error that puzzles me.20:16:18
@fufexan:matrix.orgfufexan couldn't it also accept self.overlay? 20:17:03
@fufexan:matrix.orgfufexan * couldn't it also accept self.overlay? with a bit of work 20:17:25
@fufexan:matrix.orgfufexanI'll look into it tomorrow since I know you're busy fellows20:17:38
@fufexan:matrix.orgfufexanthanks for helping me debug this :D20:17:49
@blaggacao:matrix.orgDavid Arnold (blaggacao)I wonder where the function comes from...20:18:25
@blaggacao:matrix.orgDavid Arnold (blaggacao)
nix-repl> builtins.attrValues {}
[ ]
20:18:33
@blaggacao:matrix.orgDavid Arnold (blaggacao) (being {} doesn't seem t be a particular problem) 20:18:48
@blaggacao:matrix.orgDavid Arnold (blaggacao) must be a toxic output of internalOverlays, I'd say 20:19:19
@blaggacao:matrix.orgDavid Arnold (blaggacao) (_: v: [ v.overlay or (_: _: { }) ] ++ attrValues v.overlays or { }) 20:23:13
@blaggacao:matrix.orgDavid Arnold (blaggacao) vs: (_: v: [ v.overlay or (_: _: { }) ] ++ attrValues (v.overlays or { })) ? 20:23:27
@blaggacao:matrix.orgDavid Arnold (blaggacao) * vs:
(_: v: [ v.overlay or (_: _: { }) ] ++ attrValues (v.overlays or { })) ?
20:24:00
@blaggacao:matrix.orgDavid Arnold (blaggacao)Don't remember if this precedence rule is implicit..20:24:39
@blaggacao:matrix.orgDavid Arnold (blaggacao) fufexan: Can you push the failing state to a branch so I can try to reproduce? 20:39:36

Show newer messages


Back to Room ListRoom Version: 6