!tDnwWRNkmmYtMXfaZl:nixos.org

Nix Language

1924 Members
Nix programming language357 Servers

Load older messages


SenderMessageTime
23 May 2021
@ijustwannalurk:matrix.orgijustwannalurk joined the room.20:38:09
@ijustwannalurk:matrix.orgijustwannalurk set a profile picture.22:46:50
24 May 2021
@rajivr:matrix.orgrajivr joined the room.03:34:02
@hexa:lossy.networkhexa joined the room.04:59:23
@esac:matrix.orgp10r
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
@esac:matrix.orgp10rOr an 80's neon themed excessively vibrant and saturated one..05:01:57
@princemachiavelli:matrix.orgprincemachiavelli left the room.05:50:30
@princemachiavelli:matrix.orgprincemachiavelli joined the room.05:50:59
@chreekat:matrix.orgchreekat joined the room.09:04:05
@lunik1:lunik.onelunik1 joined the room.09:13:26
@jez:petrichor.meJez (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
@qyliss:fairydust.spaceAlyssa RossI think you need to append a string11:22:12
@sternenseemann:systemli.orgsterni (he/him)the latter, but note that the path becomes a string then11:22:13
@qyliss:fairydust.spaceAlyssa Rossno it doesn't?11:22:42
@qyliss:fairydust.spaceAlyssa Rossnix-repl> ./test + "${toString builtins.currentTime}"11:22:50
@qyliss:fairydust.spaceAlyssa Ross/home/test162185534411:22:50
@sternenseemann:systemli.orgsterni (he/him)oh you're right11:23:02
@jez:petrichor.meJez (he/him)thanks 👍️11:23:54
@sternenseemann:systemli.orgsterni (he/him)I was thinking of derivations 11:24:12
@kevincox:matrix.orgkevincox 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:nixos.orggrahamc bring it up in #matrix-suggestions:nixos.org and cc samueldr please :) 11:47:24
@kevincox:matrix.orgkevincoxhttps://matrix.to/#/!rMMJVYqfOEOLttKGza:nixos.org/$xuA_LVTKj8YmEODeloSVqB9LBGkrXMGGrwyogP8VQso?via=nixos.org&via=matrix.org&via=nitro.chat11:52:15
@kevincox:matrix.orgkevincox * Asked: https://matrix.to/#/!rMMJVYqfOEOLttKGza:nixos.org/$xuA_LVTKj8YmEODeloSVqB9LBGkrXMGGrwyogP8VQso?via=nixos.org&via=matrix.org&via=nitro.chat11:52:24
@ncfavier:matrix.orgnf joined the room.12:46:56
@melg8:matrix.orgMelg8Hi, 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:matrix.orgtoonn Melg8: The main channel's (#nix:nixos.org) actually more appropriate for that question. You'll find more eyeballs there : ) 13:56:56
@melg8:matrix.orgMelg8@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:matrix.orgtoonn 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:matrix.orgMelg8if 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:matrix.orgMelg8 * 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

Show newer messages


Back to Room ListRoom Version: 6