!UUqahLbShAYkkrXmKs:matrix.org

DevOS

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

Load older messages


SenderMessageTime
2 Nov 2021
@genadij.udarov:matrix.orggenadij.udarov Btw, is there a way to access channels in profiles? I'd like to use few packages from latest (aka unstable), but I don't want to enumerate them in overrides.nix 22:11:38
@danielphan.2003:matrix.org@danielphan.2003:matrix.org You could inherit (channels) latest; in overrides.nix and refer to latest package via pkgs.latest 22:16:19
@danielphan.2003:matrix.org@danielphan.2003:matrix.orgYou can only access inputs in profiles, but not channels afaik22:16:55
@danielphan.2003:matrix.org@danielphan.2003:matrix.org * You can access inputs in profiles, but not channels afaik22:17:06
@genadij.udarov:matrix.orggenadij.udarovThanks!22:18:00
@genadij.udarov:matrix.orggenadij.udarovThat worked, awesome! <3 I'm wondering, why this isn't a default? Is there a reason, such as additional overhead?22:19:21
@danielphan.2003:matrix.org@danielphan.2003:matrix.org You could add channels to nixos.importables using inherit (self) channels, though I would avoid using importables for anything else than host infos 22:26:38
3 Nov 2021
@danielphan.2003:matrix.org@danielphan.2003:matrix.org Is there anyway to export a package set using overlays? In pkgs/default.nix I tried using __dontExport = false; but fup would not export it as desired 01:59:19
@danielphan.2003:matrix.org@danielphan.2003:matrix.org See https://github.com/gytis-ivaskevicius/flake-utils-plus/blob/master/lib/exportPackages.nix#L7001:59:25
@danielphan.2003:matrix.org@danielphan.2003:matrix.org and https://github.com/danielphan2003/nixpkgs/blob/39cd9a7e13c0fda23a8f1bc656fb7a284b2a18eb/pkgs/default.nix01:59:29
@danielphan.2003:matrix.org@danielphan.2003:matrix.org My plan is to be able to do nix eval --raw '.#sources.<pname>.src' so I could do some fancy things like using gomod2nix. 01:59:36
@pachumicchu:myrdd.infoPacman99 package "subsystems" or attrsets aren't exported by default, so you have to set sources.__dontExport = true; 02:00:21
@danielphan.2003:matrix.org@danielphan.2003:matrix.org I did, but it just never output anything. I workaround this by using pkgs.emptyText and passthru the sources to it 02:03:51
@danielphan.2003:matrix.org@danielphan.2003:matrix.orgimage.png
Download image.png
02:05:44
5 Nov 2021
@meccine:matrix.org@meccine:matrix.org left the room.04:21:54
6 Nov 2021
@pachumicchu:myrdd.infoPacman99 invited @blaggacao:matrix.orgDavid Arnold (blaggacao).04:48:38
@blaggacao:matrix.orgDavid Arnold (blaggacao) joined the room.04:49:21
8 Nov 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)

Re: oberlays handling.

Ringer today showed me:

`overlay = final: prev: nixpkgs.lib.composeManyExtensions overlays) final prev;

23:13:12
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Re: oberlays handling. Ringer today showed me: `overlay = final: prev: nixpkgs.lib.composeManyExtensions overlays) final prev;`23:13:25
@blaggacao:matrix.orgDavid Arnold (blaggacao)* **Re: oberlays handling.** Ringer today showed me: `overlay = final: prev: nixpkgs.lib.composeManyExtensions overlays) final prev;`23:13:40
@blaggacao:matrix.orgDavid Arnold (blaggacao)* **Re: oberlays handling.** Ringer today showed me: ```nix { overlay = final: prev: nixpkgs.lib.composeManyExtensions overlays) final prev; } ```23:14:04
@blaggacao:matrix.orgDavid Arnold (blaggacao)This makes all overlays again available as if they where all defined in a single overlay.23:14:37
@blaggacao:matrix.orgDavid Arnold (blaggacao) That most notable implication is that final can be cross referenced between them. 23:14:59
@blaggacao:matrix.orgDavid Arnold (blaggacao) We encourage separation into "atomic" overlay sets in devos, but this can be seen as a an escape hatch if need be. 23:15:33
@blaggacao:matrix.orgDavid Arnold (blaggacao) The "milacrous" merging of finals is something that one has to maintain vigilant about. 23:16:06
11 Nov 2021
@gtrunsec:matrix.org@gtrunsec:matrix.orgHi everyone, how about this feature https://github.com/GTrunSec/Coding-Dev-Env-With-NixFlake/runs/4182681465?check_suite_focus=true extend your bud command20:23:25
@gtrunsec:matrix.org@gtrunsec:matrix.orgExample: https://github.com/GTrunSec/Coding-Dev-Env-With-NixFlake/tree/main/devshell/shell PR: https://github.com/divnix/bud/pull/2923:02:39
12 Nov 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @gtrunsec:matrix.org
Hi everyone, how about this feature https://github.com/GTrunSec/Coding-Dev-Env-With-NixFlake/runs/4182681465?check_suite_focus=true extend your bud command
gtrunsec: I think that use case is already covered differently. For a python script, youd'd not use makBashScript... But a Python script runner... A few good examples to steal.from are in github.com/input-output-hk/cicero (in the lib - rg run).
21:47:40
@blaggacao:matrix.orgDavid Arnold (blaggacao) As for cuatom modules, one can already do self.budModules.name = {} 21:48:19
@blaggacao:matrix.orgDavid Arnold (blaggacao) Iirc, consequently one can do self.budModules.name = null to switch one off. 21:48:43

Show newer messages


Back to Room ListRoom Version: 6