Stream: beginners

Topic: caching build dependencies


view this post on Zulip dank (Feb 02 2023 at 14:14):

So I found it kinda annoying to download build dependencies after each time i run the nix gc
I was suggested to use nix-direnv. wyt? Do you use something else?
(If it is comfortable maybe it should be suggested at the contribute file)

view this post on Zulip Brendan Hansknecht (Feb 02 2023 at 15:13):

I like both nix direnv and lorri. Both work quite well.

view this post on Zulip dank (Feb 02 2023 at 18:36):

ok tested now. nix-direnv indeed works great

view this post on Zulip Anton (Feb 03 2023 at 08:05):

@dank May I ask why you regularly run nix gc?

view this post on Zulip dank (Feb 03 2023 at 10:46):

after i install some stuff or configure something in configuration.nix I do a rebuild and gc
why that is is because for a period of time I forgot to gc and my boot efi absolutely maxed out and things went south
since then I'm kinda paranoid and gc more frequently lol


Last updated: Jul 26 2025 at 12:14 UTC