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
  • НаукаНаука

Комментарии • 17

  • @minecraftpufferfish9066
    @minecraftpufferfish9066 Месяц назад +11

    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!

  • @seanhdka
    @seanhdka 18 дней назад +2

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

    • @WhyDoesNothingWork
      @WhyDoesNothingWork  17 дней назад

      thanks! lol sorry about the snoring, its my dog, i am so used to her snoring I dont even notice it anymore

    • @VincentMaule
      @VincentMaule День назад

      I was going to comment this too!

  • @OnboardingInformation
    @OnboardingInformation Месяц назад +1

    Very cool niche video topic

  • @InspiredPlans
    @InspiredPlans 27 дней назад

    Awesome videos! Subscribed.

  • @egunuraka
    @egunuraka Месяц назад

    Thanks for this video! ❤

  • @RobFisherUK
    @RobFisherUK 14 дней назад

    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?

    • @WhyDoesNothingWork
      @WhyDoesNothingWork  14 дней назад +1

      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";
      }

  • @hubstrangers3450
    @hubstrangers3450 Месяц назад

    Thank you....

  • @Trokumukum
    @Trokumukum Месяц назад +2

    You should teach how to make a Debian server.

    • @WhyDoesNothingWork
      @WhyDoesNothingWork  Месяц назад

      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

  • @eygs493
    @eygs493 13 дней назад

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

    • @WhyDoesNothingWork
      @WhyDoesNothingWork  13 дней назад

      I tried changing it to ka ka but I was getting errors :)