NixOS tutorial - Nix Packages
HTML-код
- Опубликовано: 20 июн 2024
- learn what nix packages are, what and how to make them
templates are available at github.com/jason-m/whydoesnot...
If you're in the market for a great vpn or email provider consider proton and help support my content:
Proton VPN: go.getproton.me/SH13u
Proton Mail: go.getproton.me/SH13v
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 RUclips explaining how to actually package your own stuff with Nix. Thank you for your effort!
Thank you, I hope it was helpful
you're doing god's work with these videos. the snoring in the background is also a nice touch.
thanks! lol sorry about the snoring, its my dog, i am so used to her snoring I dont even notice it anymore
I was going to comment this too!
Very cool niche video topic
Awesome videos! Subscribed.
Thanks for this video! ❤
I hope it was helpful!
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?
For the binary package yes, nix allows you to specify the hash per arch it looks something like this (youtube comments mangle code )
hash = {
aarch64-linux = "sha256-blablah";
x86_64-linux = "sha256-lalala";
}
Thank you....
You should teach how to make a Debian server.
I have 2 more videos I want to do in my nixos series then I will look into doing some tutorials around Debian and rocky Linux probably
All I did was change the value from poo to poopoop and you know what happened? It still works!
I tried changing it to ka ka but I was getting errors :)