!9IQChSjwSHXPPWTa:lix.systems

Lix

1123 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-rooms304 Servers

Load older messages


SenderMessageTime
29 Jan 2026
@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
@niko:nrab.lolniko ⚡️My lix commit is 7068cbf20:00:04
@encrypteddvjjrxv:x-hain.deφαггoт (he/him) changed their display name from Spectral (he/him) to Paггot (he/him).20:22:31
@encrypteddvjjrxv:x-hain.deφαггoт (he/him) changed their display name from Paггot (he/him) to φaггot (he/him).20:23:18
@encrypteddvjjrxv:x-hain.deφαггoт (he/him) changed their display name from φaггot (he/him) to Φaггot (he/him).20:24:14
@encrypteddvjjrxv:x-hain.deφαггoт (he/him) changed their display name from Φaггot (he/him) to Φαггot (he/him).20:24:51
@encrypteddvjjrxv:x-hain.deφαггoт (he/him) changed their display name from Φαггot (he/him) to φαггot (he/him).20:25:50
@encrypteddvjjrxv:x-hain.deφαггoт (he/him) changed their display name from φαггot (he/him) to φαггoт (he/him).20:26:19
@lillecarl:matrix.orglillecarl changed their profile picture.22:28:13

Show newer messages


Back to Room ListRoom Version: 10