• 4 Posts
  • 52 Comments
Joined 1 year ago
cake
Cake day: August 10th, 2023

help-circle






  • (There is a learning curve to packaging stuff yourself.)

    “Learning curve” is an understatement. Nix is one of the most poorly documented projects I’ve seen, next to openstack. Coming into it with no background in functional programming didn’t help.

    Maybe I shouldn’t have tried to package openstack on nix.

    But I’ve tried to package other stuff, like quarto, and that was a nightmare. Nixpkgs didn’t have an updated pandoc and I spent an eternity asking around for help, to try to package it. An updated version just got pushed to unstable a few days ago. The same matrix channels I joined to ask for help have been discussing this since then. Props on them for getting it working, but anyone who says that you can easily package anything, is capping. You need to have an understanding of the nix language, nix packaging (both of which are poorly documented), and a rudimentary packaging ecosystem of what you are trying to package.

    Don’t even get me started on flakes vs nonflakes.

    I still use nix-shell for all my development environments, because it’s the best way for reproducible environments I can share I’ve found.





  • If you use pacman you are using Arch repositories.

    Incorrect. There is manjaro, but there also is msys2, a windows program with the goal of making linux tools available on windows by recompiling all of them. That’s very far from the arch philosophy and repos.

    And ubuntu and debian have massively different repositories. One of them gives you the actual firefox package, and the other installs firefox via a closed source backend, app store called snap, when you attempt to install firefox using apt.

    And then there is also the version differences, like debian stable is going to have much older software than ubuntu.





  • The screen uses the most power out of any other piece if thr system, for daily use (on laptops which supported driversets for the OS)

    Just turn the brightness down, and that will save you more battery life than tinkering with anything, unless you know a specific piece of the system (nvidia gpu) is killing your battery life.