!tDnwWRNkmmYtMXfaZl:nixos.org

Nix Language

1542 Members
Nix programming language274 Servers

Load older messages


SenderMessageTime
26 Jul 2024
@devurandom:matrix.orgDennis joined the room.16:50:46
@mr-qubo:matrix.orgmr-quboI want to fix issue in nixpkgs. I have a local git repo with changes. How can I build my nixos configuration with this local nixpkgs to test the changes? I'm using channels.17:04:38
@mr-qubo:matrix.orgmr-qubo I've got it NIX_PATH=nixpkgs=/home/nix/nixpkgs:$NIX_PATH nixos-rebuild boot. 17:42:38
@mr-qubo:matrix.orgmr-quboOh, sorry, wrong room.17:43:48
@mr-qubo:matrix.orgmr-qubo * Oh, sorry, I've just noticed it's wrong room.17:43:55
27 Jul 2024
@valconius:matrix.orgvalconius joined the room.00:46:22
@aetaric:matrix.orgaetaric joined the room.06:56:20
@aetaric:matrix.orgaetaric set a profile picture.07:04:10
@bumperboat:matrix.orgbumperboat left the room.11:58:44
@test-user:c.imperishable.namerendakuenthusiast⚡️why doesn't string interpolation work with integers?22:40:20
@test-user:c.imperishable.namerendakuenthusiast⚡️ having to manually call (toString port-number) is kinda inconveneint 22:40:38
@ity:itycodes.orgTranquil Ity
In reply to @test-user:c.imperishable.name
why doesn't string interpolation work with integers?
What would you want it to do ? JavaScript?
22:41:14
@test-user:c.imperishable.namerendakuenthusiast⚡️ basically have the "string-${variable}syntax automatically calltoString` if necessary 22:41:37
@test-user:c.imperishable.namerendakuenthusiast⚡️which is what many languages with string interpolation syntax do22:41:51
@test-user:c.imperishable.namerendakuenthusiast⚡️ * basically have the "string-${variable}"syntax automatically calltoString if necessary 22:42:10
@mattsturg:matrix.orgMatt SturgeonThere's some precedent for this already: paths and derivations are stringified when used with string interpolation. AFAIK most languages that have string formatting and/or string interpolation automatically stringify non-string values? I get why you may want concatenation to be explicit about the type, but interpolation feels different 🤔22:46:21
@ity:itycodes.orgTranquil Ity
In reply to @test-user:c.imperishable.name
basically have the "string-${variable}"syntax automatically calltoString if necessary
Ah
22:54:39
@test-user:c.imperishable.namerendakuenthusiast⚡️
In reply to @mattsturg:matrix.org
There's some precedent for this already: paths and derivations are stringified when used with string interpolation.
AFAIK most languages that have string formatting and/or string interpolation automatically stringify non-string values?
I get why you may want concatenation to be explicit about the type, but interpolation feels different 🤔
in particular interpolation for integers, which should be very easy to do
22:55:19
28 Jul 2024
@kamillaova:matrix.orgKamilla 'ovaHi, can someone explain this behavior?18:54:00
@kamillaova:matrix.orgKamilla 'ovaimage.png
Download image.png
18:54:08
@emilazy:matrix.orgemilyoh boy19:16:32
@emilazy:matrix.orgemily that's not the only platform divergence, try builtins.split "" 🙃 19:16:49
@emilazy:matrix.orgemilybut this might be a new one19:16:57
@emilazy:matrix.orgemilyyou might want to report it upstream19:47:21
29 Jul 2024
@andmuz:matrix.organdmuz joined the room.00:49:46
@rayne:spooky.computer@rayne:spooky.computer left the room.03:38:31
@kenzie:matrix.kenzi.dev@kenzie:matrix.kenzi.dev left the room.06:57:49
@gamerkold:matrix.orgKodin joined the room.07:04:18
@mariosangiorgio:matrix.org@mariosangiorgio:matrix.org left the room.07:21:39
@travis-staton:matrix.orgTravis joined the room.15:04:04

Show newer messages


Back to Room ListRoom Version: 6