this post was submitted on 07 Mar 2024
311 points (94.8% liked)

linuxmemes

22678 readers
2698 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     

    Picture of Skinner from "The Simpsons" with the linux logo on his face and the word "Pathetic" in the bottom center of the picture.

    you are viewing a single comment's thread
    view the rest of the comments
    [–] CodeGameEat 27 points 11 months ago (2 children)

    The difference is I can upgrade my NixOS without breaking everything hahaha. But it has gotten a lot more popular recently, which I think is your analogy? Or because people always bring it up now lol

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

    yea i think its the popularity spike. if only there were more docs on flakes though.

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

    I still don't completely get their point, TBH.

    And the Nix language seems to be intentionally confusingly close to json.

    [–] [email protected] 6 points 11 months ago

    The similarities are superficial at best. The only thing similar is that it uses braces for attribute sets (objects) and square brackets for lists. And I guess quotes for strings.

    But otherwise it's a full (functional) programming language, with functions, variable bindings, etc.

    Flakes aren't perfect, but they are really good for ensuring that you have completely reproducible builds since the version used for every dependency is pinned.

    [–] [email protected] 4 points 11 months ago
    • control the versions of the repo and packages

    • config the official repo (allow unfree packages for example) that doesn't work unless you're on nixos

    • add packages from a git repo

    • update package definitions (think apt update)

    [–] [email protected] 1 points 11 months ago* (last edited 11 months ago)

    iirc theyre meant to improve reproducibility by using pinned versions of stuff like nixpkgs instead of inheriting from your system which could be a problem if for example someone on 23.11 sends a deriv to someone on 24.05

    [–] [email protected] 9 points 11 months ago* (last edited 11 months ago) (1 children)

    If only wiki was as good as Arch's...

    [–] [email protected] 2 points 11 months ago

    exactly. cant blame them tho, its unofficial.

    [–] CodeGameEat 1 points 11 months ago

    I agree, altough I'm trying to use them here and there, i'm still very confused by it.

    [–] Neon 1 points 11 months ago

    i actually managed to somewhat break it. But a rollback just immediately fixed it again.