···47474848 isoBootFlags="-eltorito-boot ${bootImage}
4949 -eltorito-catalog .boot.cat
5050- -no-emul-boot -boot-load-size 4 -boot-info-table"
5050+ -no-emul-boot -boot-load-size 4 -boot-info-table
5151+ --sort-weight 1 /isolinux" # Make sure isolinux is near the beginning of the ISO
5152fi
52535354if test -n "$usbBootable"; then
···112113 -r
113114 -path-list pathlist
114115 --sort-weight 0 /
115115- --sort-weight 1 /isolinux" # Make sure isolinux is near the beginning of the ISO
116116+"
116117117118$xorriso -output $out/iso/$isoName
118119
+17-3
nixos/lib/testing.nix
···156156 test = passMeta (runTests driver);
157157 report = passMeta (releaseTools.gcovReport { coverageRuns = [ test ]; });
158158159159- in (if makeCoverageReport then report else test) // {
160160- inherit nodes driver test;
161161- };
159159+ nodeNames = builtins.attrNames nodes;
160160+ invalidNodeNames = lib.filter
161161+ (node: builtins.match "^[A-z_][A-z0-9_]+$" node == null) nodeNames;
162162+163163+ in
164164+ if lib.length invalidNodeNames > 0 then
165165+ throw ''
166166+ Cannot create machines out of (${lib.concatStringsSep ", " invalidNodeNames})!
167167+ All machines are referenced as perl variables in the testing framework which will break the
168168+ script when special characters are used.
169169+170170+ Please stick to alphanumeric chars and underscores as separation.
171171+ ''
172172+ else
173173+ (if makeCoverageReport then report else test) // {
174174+ inherit nodes driver test;
175175+ };
162176163177 runInMachine =
164178 { drv
···9898 if [ "$TERM" != "dumb" -o -n "$INSIDE_EMACS" ]; then
9999 PROMPT_COLOR="1;31m"
100100 let $UID && PROMPT_COLOR="1;32m"
101101- PS1="\n\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\$\[\033[0m\] "
101101+ if [ -n "$INSIDE_EMACS" ]; then
102102+ # Emacs term mode doesn't support xterm title escape sequence (\e]0;)
103103+ PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] "
104104+ else
105105+ PS1="\n\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\$\[\033[0m\] "
106106+ fi
102107 if test "$TERM" = "xterm"; then
103108 PS1="\[\033]2;\h:\u:\w\007\]$PS1"
104109 fi
+4-4
nixos/modules/programs/zsh/oh-my-zsh.xml
···1919 configuration format of <literal>oh-my-zsh</literal>.
2020<programlisting>
2121{
2222- programs.ohMyZsh = {
2222+ programs.zsh.ohMyZsh = {
2323 enable = true;
2424 plugins = [ "git" "python" "man" ];
2525 theme = "agnoster";
···5151 The module can do this as well:
5252<programlisting>
5353{
5454- programs.ohMyZsh.custom = "~/path/to/custom/scripts";
5454+ programs.zsh.ohMyZsh.custom = "~/path/to/custom/scripts";
5555}
5656</programlisting>
5757 </para>
···7373<programlisting>
7474{ pkgs, ... }:
7575{
7676- programs.ohMyZsh.customPkgs = with pkgs; [
7676+ programs.zsh.ohMyZsh.customPkgs = with pkgs; [
7777 pkgs.nix-zsh-completions
7878 # and even more...
7979 ];
···87878888 <para>
8989 <emphasis>Please keep in mind that this is not compatible with
9090- <literal>programs.ohMyZsh.custom</literal> as it requires an immutable store
9090+ <literal>programs.zsh.ohMyZsh.custom</literal> as it requires an immutable store
9191 path while <literal>custom</literal> shall remain mutable! An evaluation
9292 failure will be thrown if both <literal>custom</literal> and
9393 <literal>customPkgs</literal> are set.</emphasis>
+6-1
nixos/modules/services/hardware/bluetooth.nix
···2525 type = types.package;
2626 default = pkgs.bluez;
2727 defaultText = "pkgs.bluez";
2828- example = "pkgs.bluez.override { enableMidi = true; }";
2828+ example = "pkgs.bluezFull";
2929 description = ''
3030 Which BlueZ package to use.
3131+3232+ <note><para>
3333+ Use the <literal>pkgs.bluezFull</literal> package to enable all
3434+ bluez plugins.
3535+ </para></note>
3136 '';
3237 };
3338
···14141515stdenv.mkDerivation rec {
1616 name = "csound-${version}";
1717+ # When updating, please check if https://github.com/csound/csound/issues/1078
1818+ # has been fixed in the new version so we can use the normal fluidsynth
1919+ # version and remove fluidsynth 1.x from nixpkgs again.
1720 version = "6.12.0";
18211922 enableParallelBuilding = true;
···3030 woman-manpath)))
31313232;;; Make tramp work for remote NixOS machines
3333-(eval-after-load 'tramp
3333+(eval-after-load 'tramp-sh
3434 ;; TODO: We should also add the other `NIX_PROFILES' to this path.
3535 ;; However, these are user-specific, so we would need to discover
3636 ;; them dynamically after connecting via `tramp'
···4455let
66 # if you bump version, update pkgs.tortoisehg too or ping maintainer
77- version = "4.8";
77+ version = "4.8.1";
88 name = "mercurial-${version}";
99 inherit (python2Packages) docutils hg-git dulwich python;
1010in python2Packages.buildPythonApplication {
···13131414 src = fetchurl {
1515 url = "https://mercurial-scm.org/release/${name}.tar.gz";
1616- sha256 = "00rzjbf2blxkc0qwd9mdzx5fnzgpp4jxzijq6wgsjgmqscx40sy5";
1616+ sha256 = "08gsn0s5802bs8ks77xqg7c8dwpbsh8df47kvb1gn14ivrf5z928";
1717 };
18181919 inherit python; # pass it so that the same version can be used in hg2git
···4343 sed -E -e 's@^include (.*)(/firejail/.*.local)$@include /etc\2@g' -i $out/etc/firejail/*.profile
4444 '';
45454646- enableParallelBuilding = true;
4646+ # At high parallelism, the build sometimes fails with:
4747+ # bash: src/fsec-optimize/fsec-optimize: No such file or directory
4848+ enableParallelBuilding = false;
47494850 meta = {
4951 inherit (s) version;
···44{ lib, config, hostPlatform, meta }:
5566let
77+ # If we're in hydra, we can dispense with the more verbose error
88+ # messages and make problems easier to spot.
99+ inHydra = config.inHydra or false;
1010+711 # See discussion at https://github.com/NixOS/nixpkgs/pull/25304#issuecomment-298385426
812 # for why this defaults to false, but I (@copumpkin) want to default it to true soon.
913 shouldCheckMeta = config.checkMeta or false;
···141145142146 handleEvalIssue = attrs: { reason , errormsg ? "" }:
143147 let
144144- msg = ''
145145- Package ‘${attrs.name or "«name-missing»"}’ in ${pos_str} ${errormsg}, refusing to evaluate.
148148+ msg = if inHydra
149149+ then "Failed to evaluate ${attrs.name or "«name-missing»"}: «${reason}»: ${errormsg}"
150150+ else ''
151151+ Package ‘${attrs.name or "«name-missing»"}’ in ${pos_str} ${errormsg}, refusing to evaluate.
146152147147- '' + (builtins.getAttr reason remediation) attrs;
153153+ '' + (builtins.getAttr reason remediation) attrs;
148154149155 handler = if config ? "handleEvalIssue"
150156 then config.handleEvalIssue reason
+2-8
pkgs/tools/admin/awscli/default.nix
···19192020in py.pkgs.buildPythonApplication rec {
2121 pname = "awscli";
2222- version = "1.16.60";
2222+ version = "1.16.72"; # N.B: if you change this, change botocore to a matching version too
23232424 src = py.pkgs.fetchPypi {
2525 inherit pname version;
2626- sha256 = "25bcc6cf2304356a78429671999857ff33f88761d81bcee63463a86a6780dcdc";
2626+ sha256 = "1ld4a6yxnh0v96fjjp8wjf7zvx41grl57mqg92p6zbfssr2jbqfv";
2727 };
28282929 # No tests included
···4141 groff
4242 less
4343 ];
4444-4545- postPatch = ''
4646- for i in {py,cfg}; do
4747- substituteInPlace setup.$i --replace "botocore==1.12.50" "botocore>=1.11,<1.13"
4848- done
4949- '';
50445145 postInstall = ''
5246 mkdir -p $out/etc/bash_completion.d
···11-diff --git a/lib/oxidized/model/powerconnect.rb b/lib/oxidized/model/powerconnect.rb
22-index f602a36..3bac2d1 100644
33---- a/lib/oxidized/model/powerconnect.rb
44-+++ b/lib/oxidized/model/powerconnect.rb
55-@@ -4,7 +4,7 @@ class PowerConnect < Oxidized::Model
66-77- comment '! '
88-99-- expect /^\s*--More--\s+.*$/ do |data, re|
1010-+ expect /^([[:cntrl:]]...More:|\s*--More--\s+).*$/ do |data, re|
1111- send ' '
1212- data.sub re, ''
1313- end
1414-@@ -60,7 +60,7 @@ class PowerConnect < Oxidized::Model
1515- skip_blocks = 0
1616- cfg.each_line do |line|
1717- # If this is a stackable switch we should skip this block of information
1818-- if (line.match /Up\sTime|Temperature|Power Suppl(ies|y)|Fans/i and @stackable == true)
1919-+ if (line.match /Up\sTime|Temperature|Power Suppl(ies|y)|Fans/i)
2020- skip_blocks = 1
2121- # Some switches have another empty line. This is identified by this line having a colon
2222- skip_blocks = 2 if line.match /:/
+2-2
pkgs/tools/graphics/pywal/default.nix
···2233python3Packages.buildPythonApplication rec {
44 pname = "pywal";
55- version = "3.1.0";
55+ version = "3.2.1";
6677 src = python3Packages.fetchPypi {
88 inherit pname version;
99- sha256 = "1i4i9jjnm4f0zhz4nqbb4253517w33bsh5f246n5930hwrr9xn76";
99+ sha256 = "1pj30h19ijwhmbm941yzbkgr19q06dhp9492h9nrqw1wfjfdbdic";
1010 };
11111212 # necessary for imagemagick to be found during tests
···1919 # The websites youtube-dl deals with are a very moving target. That means that
2020 # downloads break constantly. Because of that, updates should always be backported
2121 # to the latest stable release.
2222- version = "2018.11.18";
2222+ version = "2018.12.17";
23232424 src = fetchurl {
2525 url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
2626- sha256 = "1wvvwyvxg9aadgpbcz0p6nzqmvnxzlbsqja3j6487l41s1ky1fyq";
2626+ sha256 = "1nd4zr3wd35vldm775m9wcgbzma2013yyj134lcz19ipjs38isrk";
2727 };
28282929 nativeBuildInputs = [ makeWrapper ];