!9IQChSjwSHXPPWTa:lix.systems

Lix

1124 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-rooms305 Servers

Load older messages


SenderMessageTime
29 Jan 2026
@llakala:matrix.orgllakalaI'll have to think more about the idea15:56:15
@coca162:matrix.orgCoca(at which point you might as well modify something like nilla to get the full flake package honestly)15:58:16
@coca162:matrix.orgCoca* (at which point you might as well modify something like nilla to get the full flake-like package honestly)15:58:36
@llakala:matrix.orgllakalanever, i'm a nilla hater (I think flake-parts-like design sucks, and prefer a simple entrypoint that does as little as possible)15:59:16
@llakala:matrix.orgllakalasee also https://github.com/hsjobeki/mana which has some interesting ideas16:00:08
@coca162:matrix.orgCocawill keep it in the back of my head amongst that collection of things...16:01:58
@coca162:matrix.orgCocaI do find it overkill myself as well, just feels like having all these tools that are so similar shaped in so many aspects but not enough for a lot of people just means they won't be useful for most since they do need some sort of wide ranged adoption to become nice to use16:05:38
@antifuchs:asf.computerantifuchseh, there's a large solution space to explore; I'm ok with what I have for "home production" use in flakes, but I appreciate that people are trying for different trade-offs and seeing what things can be done there18:10:15
@antifuchs:asf.computerantifuchs(this is a similar debate to the "one major implementation per language" / "many wildly varying implementations for a language spec" one we fought with common lisp for a long time) (:18:11:38
@mzerodev:matrix.orgZoe Z for the installer should --extra-conf be passed once for each conf line or a single time with all the extra conf? 19:00:21
30 Jan 2026
@raitobezarius:matrix.orgraitobezariusonce per line yes01:12:23
@raitobezarius:matrix.orgraitobezariusit appends01:12:24
@raitobezarius:matrix.orgraitobezarius
    /// Extra configuration lines for `/etc/nix.conf`
    #[cfg_attr(feature = "cli", clap(long, action = ArgAction::Append, num_args = 0.., env = "NIX_INSTALLER_EXTRA_CONF", global = true))]
    pub extra_conf: Vec<UrlOrPathOrString>,
01:12:33
@raitobezarius:matrix.orgraitobezarius Winter i dont know if your woes with systemd units building moved forward somehow but 01:17:50
@raitobezarius:matrix.orgraitobezarius we merged https://git.lix.systems/lix-project/lix/commit/56988d860593a5fd8153d02a0ca5469508378626 and there's more to come 01:17:54
@raitobezarius:matrix.orgraitobezariusif those doesn't fix your problem, i think it may reside somewhere else01:18:03
@raitobezarius:matrix.orgraitobezarius (though i slightly doubt that you are that much running into drv overheads) 01:18:14
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& changed their profile picture.07:53:57
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)So, how did u extract initrd files?08:34:30
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)I need to get a service file from one08:34:36
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)nvm figured it out08:42:35
@rosssmyth:matrix.orgrosssmyth

I found something that is messed up with flakes:

  1. Write src = ./.;
  2. On another line write something like something = finalAttrs.src
  3. Run nom build

It shows that finalAttrs.src does not match the $src that is unpacked for some reason.

The log outputs will say something like

unpacking source archive /nix/store/6vpcbgxb1lv4xb36i4z0wcns26qkqb0a-ss7yf0ysfsr45a1811bcyvpkblpnhk1q-source
source root is ss7yf0ysfsr45a1811bcyvpkblpnhk1q-source

Notice that this looks like a store path made from a store path. It seems to be, as both store paths exist. But if you write something like:

echo "${finalAttrs.src}"

you will get:

ss7yf0ysfsr45a1811bcyvpkblpnhk1q-source

Since I rely on finalAttrs.src == $src I get a derivation failure. This can be fixed if I write something like src = self; from the flake outputs.

15:57:38
@rosssmyth:matrix.orgrosssmyth *

I found something that is weird:

  1. Write src = ./.;
  2. On another line write something like something = finalAttrs.src
  3. Run nom build

It shows that finalAttrs.src does not match the $src that is unpacked for some reason.

The log outputs will say something like

unpacking source archive /nix/store/6vpcbgxb1lv4xb36i4z0wcns26qkqb0a-ss7yf0ysfsr45a1811bcyvpkblpnhk1q-source
source root is ss7yf0ysfsr45a1811bcyvpkblpnhk1q-source

Notice that this looks like a store path made from a store path. It seems to be, as both store paths exist. But if you write something like:

echo "${finalAttrs.src}"

you will get:

ss7yf0ysfsr45a1811bcyvpkblpnhk1q-source

Since I rely on finalAttrs.src == $src I get a derivation failure. This can be fixed if I write something like src = self; from the flake outputs.

15:57:51
@rosssmyth:matrix.orgrosssmythNoticed this from a bug report on my library https://github.com/RossSmyth/press/issues/2015:58:05
@rosssmyth:matrix.orgrosssmyth *

I found something that is weird:

  1. Write src = ./.;
  2. On another line write something like something = finalAttrs.src
  3. Run nom build

It shows that finalAttrs.src does not match the $src that is unpacked for some reason.

The log outputs will say something like

unpacking source archive /nix/store/6vpcbgxb1lv4xb36i4z0wcns26qkqb0a-ss7yf0ysfsr45a1811bcyvpkblpnhk1q-source
source root is ss7yf0ysfsr45a1811bcyvpkblpnhk1q-source

Notice that this looks like a store path made from a store path. It seems to be, as both store paths exist. But if you write something like:

echo "${finalAttrs.src}"

you will get:

ss7yf0ysfsr45a1811bcyvpkblpnhk1q-source

Since I rely on finalAttrs.src == $src I get a derivation failure. This can be fixed if I write something like src = self; from the flake outputs, as then finalAttrs.src == $src in that case for some reason.

16:01:52
@rosssmyth:matrix.orgrosssmyth Definitely something flakey because running it without flakes it acts as expected (finalAttrs.src == $src) 16:18:08
@zimward:zimward.moezimward @fosdem changed their display name from zimward to zimward @fosdem.16:18:56
@raitobezarius:matrix.orgraitobezarius aloisw: you are super strong at rootcausing this sort of things ^, if you have some time (and desire), that'd be awesome ^
My bet is that this seems normal and is a stdenv machinery thing but not sure
19:50:05
@niko:nrab.lolniko ⚡️

I can't reproduce it using the old cli, I'll try flakes but I doubt it'll affect anything. FWIW this is the derivation I'm trying

{stdenvNoCC }:
stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "repro";
  version = "1";
  src = ./.;
  lol = finalAttrs.src;
  buildPhase = ''
    echo lol = "$lol"
    echo lol = "${finalAttrs.src}"
  '';
  installPhase = ''
    touch $out
  '';
})

and the output is

Running phase: buildPhase
lol = /nix/store/jl7xm5g4yc8larsbyabf07db9p96ljrq-nix-repro
lol = /nix/store/jl7xm5g4yc8larsbyabf07db9p96ljrq-nix-repro
19:59:20
@niko:nrab.lolniko ⚡️I tried both with nixpkgs pinned in my config and with nixpkgs that's pinned in your repo19:59:39

Show newer messages


Back to Room ListRoom Version: 10