!9IQChSjwSHXPPWTa:lix.systems

Lix

628 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-rooms196 Servers

Load older messages


SenderMessageTime
8 Oct 2024
@jade_:matrix.org@jade_:matrix.orghttps://github.com/NixOS/nixpkgs/pull/31349702:06:44
@jade_:matrix.org@jade_:matrix.orgthis is the fix, it just needs flake support ripped out and the merge button pressec02:06:55
@jade_:matrix.org@jade_:matrix.org * this is the fix, it just needs flake support ripped out and the merge button pressed02:06:56
@jade_:matrix.org@jade_:matrix.orgthe thing it is replacing has no flake support and the flake support in the replacement isn't quite good enough by some peoples' estimation02:07:30
@uep:matrix.orguepsigh02:23:53
@jade_:matrix.org@jade_:matrix.orglike. they're right02:23:59
@uep:matrix.orguepI'm all for user-friendly convenience commands, but isn't this "just use the repl" ? 02:24:17
@jade_:matrix.org@jade_:matrix.org but this means that the flake support should be removed and we should ship that as a second change that is actually reviewable 02:24:20
@uep:matrix.orguepyah02:24:34
@ext0l:matrix.orgext0lfor the record i use https://github.com/NixOS/nixpkgs/issues/97855#issuecomment-1075818028 for nixos-option flake compat03:48:13
@lily:lily.flowersLily Foster
In reply to @ext0l:matrix.org
for the record i use https://github.com/NixOS/nixpkgs/issues/97855#issuecomment-1075818028 for nixos-option flake compat
i do downright criminal stuff like NIX_PATH=nixpkgs/nixos=/path/to/cursed/nixos/entrypoint/shim:nixpkgs=/path/to/normal/nixpkgs with nixos entrypoint shim https://github.com/lilyinstarlight/foosteros/blob/ae4b316dbd297d23dbd13a078b15797805109f9c/nixos.nix
04:46:39
@lily:lily.flowersLily Foster (https://github.com/lilyinstarlight/foosteros/blob/ae4b316dbd297d23dbd13a078b15797805109f9c/config/base.nix#L114 and https://github.com/lilyinstarlight/foosteros/blob/ae4b316dbd297d23dbd13a078b15797805109f9c/config/base.nix#L173 for where i'm setting NIX_PATH. but uh i'm sorry in advance to anyfew clicking those links that most of my config is overengineered, inscrutible rubbish) 04:57:00
@lily:lily.flowersLily Foster * (https://github.com/lilyinstarlight/foosteros/blob/ae4b316dbd297d23dbd13a078b15797805109f9c/config/base.nix#L114 and https://github.com/lilyinstarlight/foosteros/blob/ae4b316dbd297d23dbd13a078b15797805109f9c/config/base.nix#L173 for where i'm setting NIX_PATH. but uh i'm sorry in advance to anyfew clicking those links that most of my config is overengineered, inscrutable rubbish) 04:57:23
@ext0l:matrix.orgext0l
In reply to @lily:lily.flowers
i do downright criminal stuff like NIX_PATH=nixpkgs/nixos=/path/to/cursed/nixos/entrypoint/shim:nixpkgs=/path/to/normal/nixpkgs with nixos entrypoint shim https://github.com/lilyinstarlight/foosteros/blob/ae4b316dbd297d23dbd13a078b15797805109f9c/nixos.nix
you're right, that is criminal
05:46:46
@benjamin:computer.surgerybenjamin I think I have a misunderstanding of either what a closure is or how buildInputs works 22:18:08
@benjamin:computer.surgerybenjamin my previous understanding was that anything in buildInputs becomes part of the output path's closure, which is the thing that shows up with nix path-info --recursive (or nix copy) 22:18:28
@benjamin:computer.surgerybenjamin but I'm currently looking at the mesa package in nixpkgs, where libxshmfence is part of buildInputs, but not listed in nix path-info --recursive 22:18:58
@lily:lily.flowersLily Fosterruntime closure is done via reference scanning after building ("build closure" is distinct)22:19:19
@benjamin:computer.surgerybenjaminah that makes sense22:19:33
@benjamin:computer.surgerybenjamin so libxshmfence isn't included because none of the libraries/binaries built by the mesa package actually link it 22:20:02
@benjamin:computer.surgerybenjamin so libxshmfence isn't included because none of the libraries/binaries built by the mesa package actually link it? 22:20:10
@lily:lily.flowersLily Foster(as in it looks for any of the input store path hashes in the output store path and writes those references down and that makes up the runtime closure)22:20:15
@lily:lily.flowersLily Foster
In reply to @benjamin:computer.surgery
so libxshmfence isn't included because none of the libraries/binaries built by the mesa package actually link it?
yeah, if you were to grep for the hash part of the store path in whichever mesa output you're inspecting, it would be absent
22:20:56
@lily:lily.flowersLily Foster
In reply to @benjamin:computer.surgery
so libxshmfence isn't included because none of the libraries/binaries built by the mesa package actually link it?
* yeah, if you were to grep for the hash part of the libxshmfence store path in whichever mesa output you're inspecting, it would be absent
22:21:10
@lily:lily.flowersLily Foster(but also note that derivations can have multiple outputs, so you may only be inspecting one of the outputs and the reference could still exist in another)22:21:26
@raitobezarius:matrix.orgraitobezariusAnd as you can expect, if you apply any transformation that's not the identity to that path which is reversed at runtime, it's also absent22:21:26
@charles:computer.surgeryCharlessomewhat related follow-up question: what's the idiomatic way to get the build closure of a thing22:22:28
@lily:lily.flowersLily Foster
In reply to @charles:computer.surgery
somewhat related follow-up question: what's the idiomatic way to get the build closure of a thing
nix path-info -r --derivation
22:22:40
@lily:lily.flowersLily Foster
In reply to @charles:computer.surgery
somewhat related follow-up question: what's the idiomatic way to get the build closure of a thing
* nix path-info -r --derivation [...].drv can do it
22:22:53
@lily:lily.flowersLily Foster
In reply to @lily:lily.flowers
nix path-info -r --derivation [...].drv can do it
(i think. apologies if i say batshit/incorrect stuff. i'm kinda headachy and also not on a lixed machine atm)
22:23:38

Show newer messages


Back to Room ListRoom Version: 10