ivn

joined 2 years ago
[–] [email protected] 7 points 3 months ago (1 children)

I’ve had NixOS absolutely refuse to run some compiler toolchain I depended upon that should’ve been dead simple on other distros, I’m really hesitant to try anything that tries to be too different anymore.

Yes, some toolchain expect you to run pre-compiled dynamically linked binaries. These won't work on NixOS, you need to either find a way to install the binary from nix and force the toolchain to use it or run patchelf on it somehow.

[–] [email protected] 2 points 3 months ago (1 children)

Well that was an approximation to keep it simple and disprove the given example. There are other directories in the root filesystem that are in the path by default, or used in some other critical way (like /etc). Even if they are links to directories in the nix store you can replace the link.

[–] [email protected] 2 points 3 months ago (1 children)

These seems to be related to flatpak, not immutability.

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

What namespace are you talking about?

[–] [email protected] 3 points 3 months ago

To be honest I don't know these very well. I only use NixOS. My understanding is that in an immutable distribution the root filesystem is read-only. Granted in NixOS the nix store is immutable and most things in the root filesystem are just links to the nix store, but the root filesystem itself is not read-only.

[–] [email protected] 4 points 3 months ago (5 children)

I'm on NixOS right now and just dropped a Chewy in my /bin, only had to sudo touch /bin/chewy.

[–] [email protected] 9 points 3 months ago (1 children)

if it's being read from, it can be written to.

Why would being able to read imply being able to write?

Having an extra step or two in the way doesn't make it "extremely secure".

Well it can greatly improve security by preventing a compromised app to achieve persistence.

[–] [email protected] 3 points 3 months ago (6 children)

The store is immutable but the system itself definitely isn't.

[–] [email protected] -1 points 3 months ago (17 children)

I wouldn't call NixOS immutable.

[–] [email protected] 2 points 3 months ago (1 children)

Mais c’est pas un black-list (comme le serait l’insance nsfw ou sci-hub, juste une URL qui ne résous pas)

Pourquoi est-ce que tu penses que ce n’est pas le domaine qui est bloqué ?

[–] [email protected] 5 points 3 months ago

void( ... ) c’est une fonction particulière de Javascript, je pense qu’ici c’est utilisé pour que le reste soit exécuté immédiatement (et non pas considéré comme une déclaration pour plus tard)

Normalement le contenu de la page est remplacé par le résultat de l’évaluation du javascript, sauf si le résultat est undefined, void() renvoi undefined.

view more: ‹ prev next ›