| 30 Jan 2026 |
Sofie 🏳️⚧️ (she/her) | nvm figured it out | 08:42:35 |
rosssmyth | I found something that is messed up with flakes:
- Write
src = ./.;
- On another line write something like
something = finalAttrs.src
- 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 | * I found something that is weird:
- Write
src = ./.;
- On another line write something like
something = finalAttrs.src
- 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 | Noticed this from a bug report on my library
https://github.com/RossSmyth/press/issues/20 | 15:58:05 |
rosssmyth | * I found something that is weird:
- Write
src = ./.;
- On another line write something like
something = finalAttrs.src
- 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 | Definitely something flakey because running it without flakes it acts as expected (finalAttrs.src == $src) | 16:18:08 |
| zimward @fosdem changed their display name from zimward to zimward @fosdem. | 16:18:56 |
| 13 May 2024 |
| zrsk joined the room. | 13:37:30 |
| dariof4 joined the room. | 14:16:05 |
| abbe joined the room. | 14:42:22 |
mjm | lix is now in nixos-unstable, what's the best way to use it in a NixOS config? | 15:47:41 |
K900 | nix.package = pkgs.lix | 15:47:54 |
K900 | Probably | 15:47:58 |
K900 | Or just keep using the module | 15:48:02 |
puck | you can use nix.package = pkgs.lix; if you want; but using the overlay will guarantee more updates (tho less binary cache) | 15:48:44 |
mjm | well, the module/overlay doesn't easily support using the one from nixpkgs | 15:48:44 |
mjm | i do want more binary cache | 15:49:21 |
mjm | yeah i guess i'll just do nix.package then | 15:50:43 |
raitobezarius | to have binary cache and HEAD, we will probably need to track the channels and bolt a lix on there and rebuild with our own CI then push in our binary cache | 17:33:17 |
Charles | What's lix using as its binary cache? Attic? | 17:34:36 |
| Arian left the room. | 17:37:44 |
@tc424:glasgow.social | Last I heard they were using garage as the back end, and think about attic | 17:39:11 |
@tc424:glasgow.social | I don't know if that means they're just pushing directly into garage's s3 interface for the moment | 17:39:36 |
@tc424:glasgow.social | * Last I heard they were using garage as the back end, and thinking about attic | 17:39:57 |
raitobezarius | In reply to @charles:computer.surgery What's lix using as its binary cache? Attic? garage without attic | 17:41:16 |
raitobezarius | it's homemade just nix push thingie | 17:41:24 |
raitobezarius | and nix sign | 17:41:25 |
Qyriad | yep | 17:44:26 |
@tc424:glasgow.social | I've just given up on attic due to weird non-deterministic auth problems that nobody else seems to have experienced | 17:44:31 |
@tc424:glasgow.social | Still half convinced I'm "holding it wrong" somehow | 17:44:49 |