!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

831 Members
165 Servers

Load older messages


SenderMessageTime
22 Oct 2025
@cortsf:matrix.orgcortsfThanks. I'll just publish a config snippet.11:17:44
@dramforever:matrix.orgdramforeversince as mentioned, especially with flakes or something, we have the very viable alternative of users pulling your flake11:17:47
@dramforever:matrix.orgdramforeverinstead of having to go through nixpkgs11:17:59
@cortsf:matrix.orgcortsfIt's ok, I knew this was going to be likely the case. Thanks!11:18:22
@gabyx:matrix.org@gabyx:matrix.orgalso its good to see more nic adoption in other places ;)11:19:47
@gabyx:matrix.org@gabyx:matrix.orgif you go the nix flake way, once the stuff works and people find it useful you can still package to nixpkgs11:20:20
23 Oct 2025
@mrargoz:matrix.org@mrargoz:matrix.org joined the room.21:01:33
24 Oct 2025
@mrargoz:matrix.org@mrargoz:matrix.org left the room.04:39:39
@xengi42:matrix.org@xengi42:matrix.org left the room.19:34:21
25 Oct 2025
@byte-flavour:matrix.orgbyteflavour joined the room.21:48:44
26 Oct 2025
@acidbong:envs.net@acidbong:envs.net joined the room.07:14:09
@acidbong:envs.net@acidbong:envs.net moin. i'm trying to expose my NixOS' config.i18n.glibcLocales (for the sake of being built and cached by CI) in a flake-parts way, but there's a catch

here's what I define:
{lib,self,...}: {
  perSystem = {system, ...}: {
      packages = {
        glibcLocales-bong = lib.mkIf (
          self.nixosConfigurations.bong.config.nixpkgs.hostPlatform.system == system
        ) self.nixosConfigurations.bong.config.i18n.glibcLocales;
      };
  };
}
I expect it to generate this
{
  packages = {
    aarch64-linux = {
      ...
      dwm = ...;
      hacksaw = ...;
      ...
    };
    x86_64-linux = {
      ...
      dwm = ...;
      glibcLocales-bong = ...;
      hacksaw = ...;
      ...
    };
  };
}
but it does not: instead, when running nix flake show --all-systems, it still tries to evaluate it on a wrong system
$ nix flake show --all-systems
...
└───packages
    ├───aarch64-linux
    │   ├───desktop-scripts: package 'desktop-scripts'
    │   ├───dwm: package 'dwm-6.5'
       error: The option `perSystem.aarch64-linux.packages.glibcLocales-bong' was accessed but has no value defined. Try setting the option.
before submitting to flake.parts, I wanna make sure whether they misimplement this or i misunderstood Nixpkgs modules and lib.types.attrsOf in particular
07:16:41
@acidbong:envs.net@acidbong:envs.net turns out, a higher-level mkIf was the way, I did misunderstood [lazyA,a]ttrsOf 09:05:53
@sir-morton:matrix.orgSir_Morton joined the room.15:33:28
27 Oct 2025
@acidbong:envs.net@acidbong:envs.net left the room.09:20:03
@genadij.udarov:matrix.orggenadij.udarov joined the room.16:39:02
28 Oct 2025
@rasmus:fricloud.dk@rasmus:fricloud.dk left the room.14:35:36
1 Nov 2025
@glepage:matrix.orgGaétan Lepage changed their profile picture.22:53:18
@glepage:matrix.orgGaétan Lepage changed their profile picture.22:54:17
3 Nov 2025
@kttns0ut:matrix.orgkttns0ut joined the room.10:14:37
4 Nov 2025
@ncfavier:matrix.orgncfavier changed their profile picture.23:54:56
5 Nov 2025
@lag0:matrix.orgLaguito joined the room.05:58:22
7 Nov 2025
@cosmicexcursionist:catgirl.cloudcosmicexcursionist joined the room.16:59:47
@awwpotato:envs.net@awwpotato:envs.net changed their display name from awwpotato (she/her) to -> @da157:catgirl.cloud.18:30:30
@awwpotato:envs.net@awwpotato:envs.net left the room.18:40:48
@mahmoudk1000:matrix.orgMahmoud joined the room.19:01:48
@emma:rory.gay@emma:rory.gay left the room.22:40:21
8 Nov 2025
@cosmicexcursionist:catgirl.cloudcosmicexcursionist set a profile picture.01:00:07
9 Nov 2025
@thedragon44:matrix.org@thedragon44:matrix.org left the room.14:15:37
@draed:matrix.orgdraed joined the room.15:28:01

There are no newer messages yet.


Back to Room ListRoom Version: 6