Hi, I have been working on Void Linux for a while and all the develop dependencies are installed by nix. With nix, I can make sure every project is using the right version of libraries with no conflicts, even though it causes much inconvenience (especially with python).

Now I purchased a new macbook, and I wonder if I can keep using nix to manage environments, a few points of my concerns listed:

  • it doesn’t support single user install on macos and requires a lot more steps than on linux, can I uninstall nix and all its packages cleanly without leaving anything? (That’s my original point of using nix, develop without ruining the system)
  • is there enough cache for apple silicon, or I have to build locally for the most time?
  • is there any package in nixpkgs actually unzipping a .deb or doing sth similar?

Thanks for your help!

  • jeffhykin@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I’ve been using it on an M1 for a long time and it works great! I expected it to be painful, but I nearly can’t tell a difference between my M1 and Intel mac and I use nix for everything.

    That said I don’t mind building from source, so I probably don’t notice any missing caches since everything is built automatically.

    Uninstalling would be a pain except I made a script that utterly purges everything which you can find here: https://github.com/jeff-hykin/fornix/blob/master/settings/extensions/nix/uninstaller_helper

  • CryoMyst@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I have been using Asahi NixOS for a while and it works fine, only downside is the increased build time for the graphics driver when updating.