this post was submitted on 07 Mar 2024
310 points (95.1% liked)

linuxmemes

21088 readers
1516 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 members of the community for any reason.
  • 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, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year 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
    [–] [email protected] 23 points 7 months ago (3 children)

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

    [–] [email protected] 11 points 7 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 7 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 7 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 7 months ago* (last edited 7 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 7 months ago* (last edited 7 months ago) (1 children)

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

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

    exactly. cant blame them tho, its unofficial.

    [–] [email protected] 1 points 7 months ago

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