1. 11
  1.  

  2. 5

    There are a few things to look out for. In particular, overridePackages doesn’t work anymore – it has been replaced by overlays:

    https://nixos.org/nixpkgs/manual/#sec-overlays-install

    Cross-compilation has also been overhauled and basically native compilation is no longer special, it’s just a cross-compile with identical build and host. Ok, I lied, but they’re getting there. Only a few quirks left. .nativeDrv and .crossDrv are on their way out, as is the stdenv.cross attribute.

    https://nixos.org/nixpkgs/manual/#chap-cross

    1. 3

      I used the new cross-compilation stuff a few months ago. It was useful!

      1. 1

        Cool! What did you do?

        1. 3

          Almost got Emacs cross-compiled to Windows - got all the dependencies going but had Emacs specific problems.

          1. 1

            For Windows? That’s unexpected and cool.

    2. [Comment removed by author]

      1. 2

        You barely interact with systemd, why does it matter? The whole point of nixOS is to abstract that part away.

        1. 5

          But it’s not completely abstracted away. A lot of NixOS' services have systemd specific configuration. We should go further so that people can replace systemd with whatever they like.

          1. 4

            I’ve been using it on my work computer, it’s pretty nice, but just because you cant see systemds warts doesnt mean they arent there