• Kissaki@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    9 hours ago

    adding some clarifications to the winget portions:

    However, the graphical windows for the various installed dependencies still show up, making it obvious that all winget is doing is run the regular setup scripts under the hood.

    winget does some default best effort of and on common installer tech to show the least UI necessary. If a UI shows up after all, that indicates to me that the manifest (the article talks about Neovim) does not have the appropriate flags included, or that the installer that the publisher uses does not support it.

    Most, but not overwhelmingly, of the stuff I install and upgrade does not show installer windows.

    which often leaves your computer full of background processes that only exist to routinely check for updates to a lot of programs in the background

    The services are not only for updating in the background and unprompted, but also for installing with admin permissions without asking the user for admin. Stuff installed into C:\Program Files is elevated on admin permissions rather than having user modify permissions, which is a security feature. A consequence is that a convenient update process needs a Windows Service that may install them without requiring the user to have and approve elevated permissions.

    As a matter of fact, after installing Neovim, there was actually no way to run it!

    This may also be an issue of manifest information for instructing the installer, or installer defaults. Or maybe the installer itself does not provide this?

    Either way, of course these things are inherent shortcomings and efforts of integrating third party installers. I just wanted to clarify.


    Regarding bad winget experiences: I assume this is not the case anymore, but installing a LibreOffice featureversion upgrade leading to an automatic system reboot without warning or confirmation sucked. lol This was relatively early on in the winget release cycles though.

  • fxomt@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    ·
    10 hours ago

    Nix (imo) is the absolute best package manager. I absolutely adore it :D (though now, i always get an uncomfortable feeling doing something unreproducable/not using nix. It’s a curse 🥲)

  • Kissaki@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 hours ago

    [Nix] allows users to reliably reproduce the same state coming from any other state, which is also used for safe rollbacks.

    What does that mean for configuration? How does configuration and customization play into Nix declarations?

    I’m thinking of what would usually be in /etc/, and what classic package managers like apt/dpkg would deliver a default of but not replace if already existing. Where you make your specific program and service configuration that is independent of the theoretically immutable package program data.

    • thedeadwalking4242@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      9 hours ago

      Nix does a bunch of fancy linking. The idea is that you will create your configurations from inside the nix language. Which will then be installed and setup according to the standard nix process. You can also install packages then build the configuration files as your normally would. Things like /etc directories are generated but not touched after that. I’m no expert though so I could be wrong.

      However after distro hopping for like 4 years I landed on nix hand haven’t looked at anything else in 2 years. Truly the future