| 23 May 2021 |
| ijustwannalurk joined the room. | 20:38:09 |
| ijustwannalurk set a profile picture. | 22:46:50 |
| 24 May 2021 |
| rajivr joined the room. | 03:34:02 |
| hexa joined the room. | 04:59:23 |
p10r | In reply to @legendofmiracles:matrix.org can either this channel or nix offtopic have another picture? It's hard to distinguish them I vote for B&W Nix logo for this room.
Down to the basics. | 05:01:28 |
p10r | Or an 80's neon themed excessively vibrant and saturated one.. | 05:01:57 |
| princemachiavelli left the room. | 05:50:30 |
| princemachiavelli joined the room. | 05:50:59 |
| chreekat joined the room. | 09:04:05 |
| lunik1 joined the room. | 09:13:26 |
Jez (he/him) | is it possible to do variable interpolation directly in a path, or do i need to append an interpolated string to a path to do this? | 11:21:29 |
Alyssa Ross | I think you need to append a string | 11:22:12 |
sterni (he/him) | the latter, but note that the path becomes a string then | 11:22:13 |
Alyssa Ross | no it doesn't? | 11:22:42 |
Alyssa Ross | nix-repl> ./test + "${toString builtins.currentTime}" | 11:22:50 |
Alyssa Ross | /home/test1621855344 | 11:22:50 |
sterni (he/him) | oh you're right | 11:23:02 |
Jez (he/him) | thanks 👍️ | 11:23:54 |
sterni (he/him) | I was thinking of derivations | 11:24:12 |
kevincox | I know that grahamc (he/him) gave some sort of standardized logo to other rooms (like #dev:nixos.org ). maybe we can start with one of those? Maybe "lang" as the text at the top? | 11:47:03 |
grahamc | bring it up in #matrix-suggestions:nixos.org and cc samueldr please :) | 11:47:24 |
kevincox | https://matrix.to/#/!rMMJVYqfOEOLttKGza:nixos.org/$xuA_LVTKj8YmEODeloSVqB9LBGkrXMGGrwyogP8VQso?via=nixos.org&via=matrix.org&via=nitro.chat | 11:52:15 |
kevincox | * Asked: https://matrix.to/#/!rMMJVYqfOEOLttKGza:nixos.org/$xuA_LVTKj8YmEODeloSVqB9LBGkrXMGGrwyogP8VQso?via=nixos.org&via=matrix.org&via=nitro.chat | 11:52:24 |
| nf joined the room. | 12:46:56 |
Melg8 | Hi, if i have derivation drv, and i call drv.drvPath in other derivation, why it tries to build whole derivation drv? how can i avoid it? i need only path string and .drv file to be present in /nix/store - to do my thing and don't want it to try to start full build of it? | 13:02:26 |
toonn | Melg8: The main channel's (#nix:nixos.org) actually more appropriate for that question. You'll find more eyeballs there : ) | 13:56:56 |
Melg8 | @toons thanks. @sterni gived me answer which i think is what i'm looking for. It is builtins.unsafeDiscardStringContext drv.drvPath - yes it unsafe, but it at least doesn't try to build it. | 14:05:48 |
toonn | Melg8: I think usually you'd get the drv path from the expression's .out, that's the path of least resistance. | 14:13:07 |
Melg8 | if i have drv X how can i get list of all derivations that i need to build before that derivation? to build X? and all of that inside nix language itself? | 14:15:17 |
Melg8 | * toonn: if i have drv X how can i get list of all derivations that i need to build before that derivation? to build X? and all of that inside nix language itself? | 14:44:53 |