!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
20 Jul 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @gytis-ivaskevicius:matrix.org
yeah, but werent you talking about editing any package? (like firefox)
* In addition, we'd have to copy (or wrap) that over into the correct place within the flake repo.
19:31:21
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgI can see it being useful for debuging, not for long term use tho19:31:59
@teutat3s:pub.solar@teutat3s:pub.solarPR is out, feeback welcome https://github.com/divnix/digga/pull/9319:32:26
@teutat3s:pub.solar@teutat3s:pub.solar What would be the way to test my changes locally? I guess somehow convincing digga to use my PR's branch instead of develop? 19:35:40
@teutat3s:pub.solar@teutat3s:pub.solar I'll try digga.url = "github:pub-solar/digga/fix/merge-or-append-nix-extraOptions"; 19:37:30
@blaggacao:matrix.orgDavid Arnold (blaggacao)nix ... --override-input digga github:dinvix/digga/<sha>19:37:30
@blaggacao:matrix.orgDavid Arnold (blaggacao) * nix ... --override-input digga github:dinvix/digga/<sha> 19:37:37
@blaggacao:matrix.orgDavid Arnold (blaggacao) I guess I found the cause for my infinite recursion loop: access to self.inputs seems not always to be cool. 19:46:13
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @blaggacao:matrix.org
I guess I found the cause for my infinite recursion loop: access to self.inputs seems not always to be cool.
Seems that was only one infinite recursion, the other one was: https://github.com/divnix/digga/commit/b121e7d9ecec9531d6fd90022c6cf9310bb9ecda
20:20:52
@blaggacao:matrix.orgDavid Arnold (blaggacao)Do tests pass on https://github.com/gytis-ivaskevicius/flake-utils-plus/pull/84?21:15:33
@blaggacao:matrix.orgDavid Arnold (blaggacao)(Let's go!)21:15:39
@blaggacao:matrix.orgDavid Arnold (blaggacao) Gytis Ivaskevicius: as a shared module and overlay api between fup and digga, could we settle on composition at the user level via fup.nixosModules.<name> & fup.overlays.<name>? 21:19:04
@blaggacao:matrix.orgDavid Arnold (blaggacao) fufexan: would you mind also looking over digga's develop branch with the critical eye that inspired https://github.com/gytis-ivaskevicius/flake-utils-plus/pull/84 ? 21:37:18
21 Jul 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)

After refactoring digga to comply with the recent upstream fup refactoring done by fufexan, users might start to see things like:

trace: warning: You are accessing a deprecated item of the digga lib.
Please update timely, it will be remove soon.

trace: warning: Deprecated Attribute Set: lib.importers.

Please use import* functions instead:
  lib.importers.overlays    -> lib.importOverlays
  lib.importers.modules     -> lib.importModules
  lib.importers.hosts       -> lib.importHosts
  lib.importers.rakeLeaves  -> lib.rakeLeaves
  lib.importers.flattenTree -> lib.flattenTree
00:04:31
@blaggacao:matrix.orgDavid Arnold (blaggacao) *

After refactoring digga to comply with the recent upstream fup refactoring done by fufexan, users might start to see things like:

trace: warning: You are accessing a deprecated item of the digga lib.
Please update timely, it will be remove soon.

trace: warning: Deprecated Attribute Set: lib.importers.

Please use import* functions instead:
  lib.importers.overlays    -> lib.importOverlays
  lib.importers.modules     -> lib.importModules
  lib.importers.hosts       -> lib.importHosts
  lib.importers.rakeLeaves  -> lib.rakeLeaves
  lib.importers.flattenTree -> lib.flattenTree

This stuff will probably be removed once develop is merged back into master.

The full deprecation list is here: https://github.com/divnix/digga/blob/develop/deprecated.nix

00:06:31
@blaggacao:matrix.orgDavid Arnold (blaggacao) this devos commit exemplifies the changes. Thx @fufexan for isnpiring the downstream cleanup with his refactoring. 00:14:15
@blaggacao:matrix.orgDavid Arnold (blaggacao) * this devos commit exemplifies the changes. Thx @fufexan for inspiring the downstream cleanup with his refactoring. 00:14:25
@blaggacao:matrix.orgDavid Arnold (blaggacao) * This devos commit exemplifies the changes. Thx @fufexan for inspiring the downstream cleanup with his refactoring. 00:14:30
@timdeh:matrix.org@timdeh:matrix.orgI got pinged somewhere here today, but I can't find it 😅01:26:14
@timdeh:matrix.org@timdeh:matrix.orgnvm, I think it was my username in the nix.conf file segment 😆01:29:16
@blaggacao:matrix.orgDavid Arnold (blaggacao) develop went away — now we are on main (still no release, though) 03:17:42
@blaggacao:matrix.orgDavid Arnold (blaggacao) * develop went away on digga — now we are on main (still no release, though) 03:22:04
@blaggacao:matrix.orgDavid Arnold (blaggacao) * The develop branch went away on digga — now we are on main (still no release, though) 03:22:15
@blaggacao:matrix.orgDavid Arnold (blaggacao) * The develop branch went away on digga — now we are on main (still no new release, though) 03:22:48
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.org
In reply to @blaggacao:matrix.org
Gytis Ivaskevicius: as a shared module and overlay api between fup and digga, could we settle on composition at the user level via fup.nixosModules.<name> & fup.overlays.<name>?
Im thinking maybe we could push something like what is required for Nix options to nixpkgs
08:21:39
@blaggacao:matrix.orgDavid Arnold (blaggacao)Oh I forgot: https://digga.divnix.com/16:15:17
@blaggacao:matrix.orgDavid Arnold (blaggacao) * Oh I forgot: https://digga.divnix.com/ (initial digga docs are live) 16:15:29
@fufexan:matrix.orgfufexan
In reply to @blaggacao:matrix.org
fufexan: would you mind also looking over digga's develop branch with the critical eye that inspired https://github.com/gytis-ivaskevicius/flake-utils-plus/pull/84 ?
yes, sure thing
20:15:40
@fufexan:matrix.orgfufexan

how does the lib.exportOverlays work in practice? I'm trying to understand what would get output as "nixpkgs/winestreamproxy" coming from this overlay

{ inputs }:
final: prev: {
  osu-stable = prev.callPackage ./osu-stable {
    wine = final.wine-tkg;
    winetricks = prev.winetricks.override { wine = final.wine-tkg; };
    inherit (final) winestreamproxy;
  };

  winestreamproxy = prev.callPackage ./winestreamproxy { wine = final.wine-tkg; };

  wine-tkg = prev.callPackage ./wine-tkg {
    wine =
      if prev.system == "x86_64-linux"
      then final.wineWowPackages.unstable
      else final.wineUnstable;
    inherit (inputs) tkgPatches oglfPatches;
  };
}
20:16:55
@fufexan:matrix.orgfufexan I get that it outputs something like "nixpkgs/winestreamproxy" = final: prev: { }; as written in the doc, but I don't really get what's in the set 20:17:36

Show newer messages


Back to Room ListRoom Version: 6