| 24 May 2021 |
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 |
toonn | I don't know. Never do much with derivations themselves. Except for building them ; ) | 14:46:34 |
toonn | Again these questions are perfectly on-topic in the main channel, might wanna try there. | 14:47:14 |
| Regnat joined the room. | 14:50:56 |
| jul1u5 removed their profile picture. | 20:05:12 |
| infinisil joined the room. | 20:29:00 |
| nazarii joined the room. | 22:08:44 |
| 25 May 2021 |
| pasukon joined the room. | 02:48:22 |
| Aluísio Augusto Silva Gonçalves joined the room. | 06:39:27 |
| mjlbach joined the room. | 06:47:42 |
| frogamic joined the room. | 13:14:28 |
| meet joined the room. | 16:05:31 |
Judson | I was hoping to build a little utility repo for custom install images. I'd like to "import" the appropriate parts of nixpkgs and keep my code local, but it seems a lot like I'm going to need to maintain a fork or something of nixpkgs itself. | 17:35:06 |
Judson | I tried mucking with NIX_PATH, and that didn't work in opaque ways. | 17:35:36 |
toonn | Pinning? | 17:47:22 |
zuckerberg | @jud | 19:00:41 |
zuckerberg | Judson: you might want to consider using flakes | 19:00:54 |
Judson | Flakes might be the right approach. Good excuse to play with them. | 19:01:38 |
zuckerberg | i recommend this video if you are just starting https://www.youtube.com/watch?v=QXUlhnhuRX4 | 19:02:23 |