Unstable revisionIn addition to numerous new and upgraded packages, this release has the following highlights:
The Haskell packages infrastructure has been re-designed from the ground up.
NixOS now distributes the latest version of every single package registered on
Hackage, i.e. well over
8000 Haskell packages. Further information and usage instructions for the
improved infrastructure are available at https://nixos.org/wiki/Haskell.
Users migrating from an earlier release will find also find helpful information
below, in the list of backwards-incompatible changes.
Users running an SSH server who worry about the quality of their
/etc/ssh/moduli file with respect to the vulnerabilities
discovered in the Diffie-Hellman key exchange can now replace OpenSSH's
default version with one they generated themselves using the new
services.openssh.moduliFile option.
Following new services were added since the last release:
brlttymarathonTvheadendWhen upgrading from a previous release, please be aware of the
following incompatible changes:
Steam now doesn't need root rights to work. Instead of using
*-steam-chrootenv, you should now just run steam.
steamChrootEnv package was renamed to steam,
and old steam package -- to steamOriginal.
CMPlayer has been renamed to bomi upstream. Package cmplayer
was accordingly renamed to bomiAtom Shell has been renamed to Electron upstream. Package atom-shell
was accordingly renamed to electron
The default NIX_PATH for NixOS now includes
/nix/var/nix/profiles/per-user/root/channels, so it's
easy to add custom channels.
Moreover, whenever a nixos-rebuild <action>
--upgrade is issued, every channel that includes a file
called .update-on-nixos-rebuild will be upgraded
alongside of the nixos channel.
The CUPS printing service has been updated to version 2.0.2.
Furthermore its systemd service has been renamed to cups.service.
Local printers are no longer shared or advertised by default. This behavior
can be changed by enabling services.printing.defaultShared
or services.printing.browsing respectively.
HPLIP (printer, scanner, and fax drivers for HP devices) has
been updated to version 3.15.4. This release
adds support for the arm6l-linux and
arm7l-linux platforms.
Haskell packages can no longer be found by name, i.e. the commands
nix-env -qa cabal-install and nix-env -i
ghc will fail, even though we do ship
both cabal-install and ghc.
The reason for this inconvenience is the sheer size of the Haskell
package set: name-based lookups such as these would become much
slower than they are today if we'd add the entire Hackage database
into the top level attribute set. Instead, the list of Haskell
packages can be displayed by
nix-env -f "<nixpkgs>" -qaP -A haskellPackages
and packages can be installed with:
nix-env -f "<nixpkgs>" -iA haskellPackages.cabal-install
Previous versions of NixOS come with a feature called
ghc-wrapper, a small wrapper script that allows
GHC to transparently pick up on libraries installed in the user's
profile. This feature has been deprecated;
ghc-wrapper was removed from the distribution.
The proper way to register Haskell libraries with the compiler now
is the haskellPackages.ghcWithPackages
function.
https://nixos.org/wiki/Haskell
provides much information about this subject.
All Haskell builds that have been generated with version 1.x of
the cabal2nix utility are now invalid and need
to be re-generated with a current version of
cabal2nix to function. The most recent version
of this tool can be installed by running
nix-env -i cabal2nix.
The haskellPackages set in Nixpkgs used to have a
function attribute called extension that users
could override in their ~/.nixpkgs/config.nix
files to configure additional attributes, etc. That function still
exists, but it's now called overrides.
The OpenBLAS library has been updated to version
0.2.14. Support for the
x86_64-darwin platform was added. Dynamic
architecture detection was enabled; OpenBLAS now selects
microarchitecture-optimized routines at runtime, so optimal
performance is achieved without the need to rebuild OpenBLAS
locally. OpenBLAS has replaced ATLAS in most packages which use an
optimized BLAS or LAPACK implementation.
The phpfpm is now using the default PHP version
(pkgs.php) instead of PHP 5.4 (pkgs.php54).