nix-update: set meta.mainProgram
This commit is contained in:
parent
54da2986be
commit
dc2ce0af94
3 changed files with 3 additions and 2 deletions
|
@ -4,4 +4,4 @@
|
|||
, extraArgs ? [ ]
|
||||
}:
|
||||
|
||||
[ "${nix-update}/bin/nix-update" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath
|
||||
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath
|
||||
|
|
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||
passthru = {
|
||||
updateScript = writeShellScript "update.sh" ''
|
||||
version=$(${curl}/bin/curl https://repo.steampowered.com/steamrt-images-scout/snapshots/latest-steam-client-general-availability/VERSION.txt)
|
||||
${nix-update}/bin/nix-update --version "$version" steamPackages.steam-runtime
|
||||
${lib.getExe nix-update} --version "$version" steamPackages.steam-runtime
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
changelog = "https://github.com/Mic92/nix-update/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda mic92 zowoq ];
|
||||
mainProgram = "nix-update";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue