Merge pull request #267957 from pbsds/nix-update-main-program

Artturi 83956310 2939fc29

Changed files
+3 -2
pkgs
common-updater
games
steam
tools
package-management
nix-update
+1 -1
pkgs/common-updater/nix-update.nix
···
, extraArgs ? [ ]
}:
-
[ "${nix-update}/bin/nix-update" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath
+
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath
+1 -1
pkgs/games/steam/runtime.nix
···
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
'';
};
+1
pkgs/tools/package-management/nix-update/default.nix
···
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;
};
}