this post was submitted on 24 Apr 2025
24 points (100.0% liked)

Opensource

2564 readers
41 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 2 years ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] Kissaki 4 points 1 day ago* (last edited 1 day 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.

[–] [email protected] 4 points 1 day 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 2 points 1 day ago (1 children)

[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.

[–] [email protected] 3 points 1 day ago* (last edited 1 day ago) (1 children)

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

[–] Kissaki 2 points 1 day ago (1 children)

distro hoping

I too hope on my distros :D

[–] [email protected] 2 points 1 day ago

And I no longer! :D nix it’s pretty sweet VERY steep learning curve though. It helps if you really understand regular Linux first.