<yl[m]>
Is there any performance hit when using `with pkgs;` at the top of the function over using `pkgs.xxx` everywhere in the same function?
phreedom_ has joined #nixos-dev
phreedom has quit [Quit: No Ping reply in 180 seconds.]
<infinisil>
yl[m]: Possibly, but almost certainly negligible
<infinisil>
I think.. but I haven't thought it through very well admittedly
<yl[m]>
infinisil: is there any performance tools for nix?
<infinisil>
,profiling yl[m]
<{^_^}>
yl[m]: Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
<yl[m]>
oh that's awesome
<yl[m]>
thanks infinisil
<yl[m]>
infinisil: is there any resource on the internals of nix?
<yl[m]>
presentations or books
<infinisil>
Not that I know of, but I've often just looked at the source to figure stuff out
jtojnar has quit [Quit: jtojnar]
<yl[m]>
It would be great if you or someone else did some presentation on the subject. I feel it' s always helpful to get at some information to help reading the source code
<yl[m]>
s/get at/get/
init_6 has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-dev
garbas has quit [Quit: WeeChat 2.2]
orivej has quit [Ping timeout: 246 seconds]
init_6 has quit [Remote host closed the connection]
sir_guy_carleton has joined #nixos-dev
jtojnar has joined #nixos-dev
init_6 has joined #nixos-dev
drakonis_ has quit [Read error: Connection reset by peer]
<Profpatsch>
infinisil: These {^_^} , rections should have shortened links to wiki entries which expand on the topic …
<Profpatsch>
Mic92: Are there shortened link for nixos.wiki articles available through MediaWiki?
<Profpatsch>
Or alternatively we could add a URL shortener to s.nixos.wiki and auto-feed it with the wiki’s sites.
<infinisil>
Profpatsch: feel free to add wiki entries and link them :)
<Profpatsch>
infinisil: Is there a bot help?
<sphalerite>
,foo = bar
<{^_^}>
foo defined
<sphalerite>
,foo
<{^_^}>
bar
<sphalerite>
,foo =
<{^_^}>
Undefined foo, was defined as: bar
<sphalerite>
Profpatsch: ^
<sphalerite>
you mean factoid definition, or…?
<Profpatsch>
sphalerite: General help
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 268 seconds]
<infinisil>
,help Profpatsch
<{^_^}>
Profpatsch: Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<infinisil>
And the special commands output a description if invoked without commands
<infinisil>
,
<{^_^}>
Special commands: find locate tell - Commands sorted by use count, page 0 (use ,<n> to view page <n>): library tofu dnw profiling help pr -A imperative pills unfree unstable escape'' paste ping pinning ask callPackage declarative error escape" nixlang++ overlay stateVersion upgrade IFD NUR allah cloudfront dentalplan escape-special exec haskell info loot runtimeDeps tias timer whomademe wololo wrapper arm bootfull channels context fancy-uninstall
<infinisil>
s/commands/argumets
<Profpatsch>
,allah
<{^_^}>
All public channels of freenode are receiving spam about Allah doing things. Freenode is working on the problem. It helps if you read 'doing' as the sound of someone being launched from a spring (rhymes with 'boing')