NixOS 18.09 已发布,代号为“Jellyfish”。除了软件包升级外,还有以下值得关注的更新:
- Support for wrapping binaries using
firejail
has been added throughprograms.firejail.wrappedBinaries
.
programs.firejail = { enable = true; wrappedBinaries = { firefox = "${lib.getBin pkgs.firefox}/bin/firefox"; mpv = "${lib.getBin pkgs.mpv}/bin/mpv"; }; };
- User channels are now in the default
NIX_PATH
, allowing users to use their personal nix-channel defined channels in nix-build and nix-shell commands, as well as in imports likeimport <mychannel>
.
$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgsunstable $ nix-channel --update $ nix-build '<nixpkgsunstable>' -A gitFull $ nix run -f '<nixpkgsunstable>' gitFull $ nix-instantiate -E '(import <nixpkgsunstable> {}).gitFull'
发行说明:
https://nixos.org/nixos/manual/release-notes.html#sec-release-18.09
下载地址:
https://nixos.org/nixos/download.html
转自 https://www.oschina.net/news/100621/nixos-18-09-released