Merge pull request #207703 from figsoda/nix-update

nix-update: 0.11.0 -> 0.12.0

Changed files
+7 -7
pkgs
common-updater
shells
tools
package-management
nix-update
+4 -4
pkgs/common-updater/nix-update.nix
···
-
{ nix-update }:
+
{ lib, nix-update }:
-
{ attrPath
-
, extraArgs ? []
+
{ attrPath ? null
+
, extraArgs ? [ ]
}:
-
[ "${nix-update}/bin/nix-update" ] ++ extraArgs ++ [ attrPath ]
+
[ "${nix-update}/bin/nix-update" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath
+1 -1
pkgs/shells/fish/default.nix
···
${fish}/bin/fish ${fishScript} && touch $out
'';
};
-
updateScript = nix-update-script { attrPath = pname; };
+
updateScript = nix-update-script { };
};
};
in
+2 -2
pkgs/tools/package-management/nix-update/default.nix
···
buildPythonApplication rec {
pname = "nix-update";
-
version = "0.11.0";
+
version = "0.12.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "Mic92";
repo = pname;
rev = version;
-
sha256 = "sha256-nBLNMQKLgx5m5VyxTdSLBE9kNhUPdaRzVi5BQx83m+4=";
+
sha256 = "sha256-7Co8mKG3eyM5WmGoAskyYleeutH4/kygSkvFpSg7Y04=";
};
makeWrapperArgs = [