Merge pull request #207703 from figsoda/nix-update

nix-update: 0.11.0 -> 0.12.0
This commit is contained in:
Jörg Thalheim
2022-12-25 21:32:27 +00:00
committed by GitHub
3 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
{ 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
View File
@@ -327,7 +327,7 @@ let
${fish}/bin/fish ${fishScript} && touch $out
'';
};
updateScript = nix-update-script { attrPath = pname; };
updateScript = nix-update-script { };
};
};
in
@@ -8,14 +8,14 @@
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 = [