NixOS tutorial - Nix Packages

preview_player
Показать описание
learn what nix packages are, what and how to make them

If you're in the market for a great vpn or email provider consider proton and help support my content:


Timecodes:

00:00 - Intro
00:13 - What are Nix packages
00:40 - What makes Nix Packages different
01:45 - Anatomy of a nix package
06:45 - Lets build some packages
18:20 - Outro
Рекомендации по теме
Комментарии
Автор

I think this might be the first complete video on YouTube explaining how to actually package your own stuff with Nix. Thank you for your effort!

minecraftpufferfish
Автор

you're doing god's work with these videos. the snoring in the background is also a nice touch.

seanhdka
Автор

I love that it's very similar to an AUR PKGBUILD but it's the main way to package things in nixos.

sharperguy
Автор

I just packaged my first Rust program thanks to this video. It worked perfectly and wasn't super convoluted like some other guides out there. Thanks a ton!! <3

Rypervenche
Автор

Is your dog snoring in the back ? xD

anyway, tutorial remains very good ! thanks for the video :D

lololol
Автор

2:54 i think nativeBuildInputs is used for specifying the compiler etc, the buildInputs is used for includes, imports and libs etc.

yash
Автор

6:33 i just noticed that the KDE DE's taskbar looks just like win10's taskbra 👀
the 2 line time/date, the expand accordion arrow, the network widget icon, the glance desktop icon, etc...

yash
Автор

9:30 wouldn't setting hostSystem be an issue with only a single hash? Because the releases for different architectures would have different hashes

mgord
Автор

I'm using Nix in my ubuntu. How do I configure the required settings to add the derivation as a package?

sailendragautam
Автор

11:18 Command to build and run our package.

yash
Автор

All I did was change the value from poo to poopoop and you know what happened? It still works!

eygs
Автор

Isn't the hash going to change depending on the hostPlatform.system because the tar file is different?

Or is the hash in fact not based on the contents of the tar file?

RobFisherUK
Автор

1:03 doesn't arch's pkgbuild files do the same?

yash
Автор

hi! ur videos seem nice. but please try to remove the subtle noise from the audio and boost the volume levels a bit (though, keep the volume levels consistent/normalised throughout the video)
5:59 6:05 who's snoring behind u lol 😆

yash
Автор

You should teach how to make a Debian server.

Trokumukum
Автор

5:59 6:05 who's snoring behind u lol 😆

yash