!9IQChSjwSHXPPWTa:lix.systems

Lix

809 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms237 Servers

Load older messages


SenderMessageTime
16 Feb 2025
@antifuchs:asf.computerantifuchs“Fast nix” in German would be “almost nothing” vs “gar nix” being “entirely nothing”00:09:41
@r522:matrix.org522 joined the room.00:24:30
@raitobezarius:matrix.orgraitobezarius
In reply to @raitobezarius:matrix.org
There's a patch cooking
https://gerrit.lix.systems/c/lix/+/2570
00:56:14
@antifuchs:asf.computerantifuchs samueldr: I made a few changes to your lix gha installer action (adding an option for extra nix config and a github access token); would you like a PR for that? 03:17:02
@antifuchs:asf.computerantifuchs(also, thanks for that action, I'm slowly but surely yeeting all my cachix/install-nix-action usages from my projects) (:03:18:00
@samueldr:matrix.orgsamueldr
In reply to @antifuchs:asf.computer
samueldr: I made a few changes to your lix gha installer action (adding an option for extra nix config and a github access token); would you like a PR for that?
please, at worst we'll have a few rounds of discussions about the details
03:30:15
@antifuchs:asf.computerantifuchsGreat! I’ll polish and file it tomorrow (:03:30:40
@samueldr:matrix.orgsamueldrmaybe file two, if I understand what you did03:31:04
@samueldr:matrix.orgsamueldr antifuchs: thinking out loud, you don't need to do anything about it... I'll probably then import the support tooling to get the README updated with the options, automatically, as found here, now that there will be options https://github.com/samueldr/more-space-action/blob/latest/support/update-readme.rb 03:33:56
@antifuchs:asf.computerantifuchsThat’s a fantastic idea, I manually updated that but if there’s a script it’s even better03:39:16
@antifuchs:asf.computerantifuchsAlso, yep, one pr per option sounds right03:41:00
@charles:computer.surgeryCharles
makeScopedPackagesFromDirectoryRecursive = newScope: directory:
  nixpkgs.lib.customisation.makeScope newScope (scope:
    nixpkgs.lib.filesystem.packagesFromDirectoryRecursive {
      inherit directory;
      callPackage = fn: args:
        scope.callPackage
          fn
          (args // { sprinkle = self; });
    }
  );

not to interrupt but i have to share this extremely long function name i just wrote

03:41:49
@charles:computer.surgeryCharles(oh darn the attribute set merge thingy does not do what i had hoped it would)03:53:37
@antifuchs:asf.computerantifuchsHm, maybe you need to use withCallPackage or whatever it’s called03:54:14
@charles:computer.surgeryCharles i was gonna go for builtins.functionArgs and doing it manually, but that sounds possibly better 03:54:38
@antifuchs:asf.computerantifuchsnixpkgs.lib.callPackageWith, that’s the o e03:55:00
@antifuchs:asf.computerantifuchs* nixpkgs.lib.callPackageWith, that’s the one03:55:04
* @charles:computer.surgeryCharles RsTFM03:55:23
@antifuchs:asf.computerantifuchsI’m not sure it’s documented 😭03:55:44
@charles:computer.surgeryCharleshttps://nixos.org/manual/nixpkgs/unstable/#function-library-lib.customisation.callPackageWith ?03:56:13
@antifuchs:asf.computerantifuchsHah, oops! There we go03:56:23
@raitobezarius:matrix.orgraitobezarius
In reply to @charles:computer.surgery
i was gonna go for builtins.functionArgs and doing it manually, but that sounds possibly better
This man is going to reinvent nixpkgs if left alone
03:56:42
@charles:computer.surgeryCharlesyes03:56:51
@raitobezarius:matrix.orgraitobezarius2muchinthefuture03:57:08
@charles:computer.surgeryCharlesin reality i'm just trying to make my dotfiles good03:57:34
@charles:computer.surgeryCharlesusing my new sprinkles thingy03:58:00
@raitobezarius:matrix.orgraitobezariusExcited for the sprinkles RFC04:00:13
@charles:computer.surgeryCharles i briefly considered trying to write a lix plugin that provided a builtins.newSprinkle function 04:00:48
@charles:computer.surgeryCharles also i'm not sure if callPackageWith fits the bill here because i need to combine it with the scope.callPackage too somehow 04:03:01
@antifuchs:asf.computerantifuchsAh, hmm, yeah that’s an issue04:06:29

Show newer messages


Back to Room ListRoom Version: 10