!tDnwWRNkmmYtMXfaZl:nixos.org

Nix Language

1518 Members
Nix programming language268 Servers

Load older messages


SenderMessageTime
16 Sep 2024
@voxel:nyanbinary.rsvoxel 🏳️‍⚧️ joined the room.22:23:29
17 Sep 2024
@detroyejr:matrix.orgdetroyejr left the room.15:35:39
@jordan.steinke:matrix.org@jordan.steinke:matrix.org changed their display name from Jordan🪻 to Jordan.16:22:31
@detroyejr:matrix.orgdetroyejr joined the room.17:51:34
@tomherbers:matrix.orgTom (deprecated) joined the room.21:07:42
18 Sep 2024
@aadniz:knaben.org@aadniz:knaben.org left the room.12:16:57
@subfractal:matrix.orgsubfractal changed their display name from gkze to subfractal.15:32:12
@kwaaaaarzu:matrix.org@kwaaaaarzu:matrix.org joined the room.17:25:19
@kwaaaaarzu:matrix.org@kwaaaaarzu:matrix.org changed their display name from kwaaaaarzu to kwizu.17:34:42
@artur:glasgow.social(artur 'manuel) changed their profile picture.23:01:05
19 Sep 2024
@kwaaaaarzu:matrix.org@kwaaaaarzu:matrix.org removed their profile picture.00:59:12
@kwaaaaarzu:matrix.org@kwaaaaarzu:matrix.org removed their display name kwizu.00:59:15
@kwaaaaarzu:matrix.org@kwaaaaarzu:matrix.org left the room.00:59:23
@memegames99:matrix.org@memegames99:matrix.org joined the room.01:51:34
@memegames99:matrix.org@memegames99:matrix.org set a profile picture.02:02:24
@memegames99:matrix.org@memegames99:matrix.org changed their profile picture.02:02:30
@bumperboat:matrix.orgbumperboat joined the room.07:54:33
@benjaminedwardwebb:envs.netbenwebb joined the room.21:46:08
20 Sep 2024
@mwoodpatrickmx:matrix.orgmwoodpatrickmxNot sure if this is the right place to ask the question but when using the nix repl is there a way to get a list of all the variables the repl currently has14:08:23
@mwoodpatrickmx:matrix.orgmwoodpatrickmxSeems like doing ":<tab>" (colon followed by tab autocompletes and generates a list of known variables.14:36:31
@wizardlink:matrix.orgwizardlink joined the room.23:26:07
@wizardlink:matrix.orgwizardlink

Hello there! A quick and maybe dumb question...

I am currently working on my home-manager configuration and decided to make my scripts into .nix files that evaluate strings (for interpolating packages). Now, if I do

{
  # ...
  text = import ./my-script.nix;
}

It yields an error, which is very non-descriptive... But:

{
  # ...
  text = import ./my-script.nix { pkgs = pkgs; };
}

Does not errors and the function is evaluated? I thought that parameters got passed down kind of like imports does, but it isn't the case... Can someone explain me better how functions are evaluated in the case of an import?

23:29:59
@wizardlink:matrix.orgwizardlink *

Hello there! A quick and maybe dumb question...

I am currently working on my home-manager configuration and decided to make my scripts into .nix files that evaluate strings (for interpolating packages). Now, if I do

{
  # ...
  text = import ./my-script.nix;
}

It yields an error, which is very non-descriptive... But:

{
  # ...
  text = import ./my-script.nix { pkgs = pkgs; };
}

Does not errors and the function is evaluated? I thought that parameters got passed down kind of like imports does, but it isn't the case... Can someone explain me better how functions are evaluated in the case of an import?

Thanks in advance!

23:31:04
@wizardlink:matrix.orgwizardlink changed their profile picture.23:37:50
21 Sep 2024
@jordan.steinke:matrix.org@jordan.steinke:matrix.org changed their display name from Jordan to Jordan🪻.04:33:14
@luna-null:matrix.orgluna-null joined the room.05:42:44
@jordan.steinke:matrix.org@jordan.steinke:matrix.org removed their profile picture.16:54:41
@jordan.steinke:matrix.org@jordan.steinke:matrix.org removed their display name Jordan🪻.16:54:48
@jordan.steinke:matrix.org@jordan.steinke:matrix.org left the room.16:55:07
@cycyone3:matrix.org@cycyone3:matrix.org left the room.17:10:01

Show newer messages


Back to Room ListRoom Version: 6