From 00ee56846b20c3d826ff659eaf4150d4484f9410 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 16 Feb 2022 19:27:41 +0100 Subject: [PATCH] gnome.updateScript: allow updating to unstable releases It is now possible to update to GNOME pre-release by simply running: GNOME_UPDATE_STABILITY=unstable nix-shell maintainers/scripts/update.nix --arg predicate '(path: pkg: pkg.updateScript.name or null == "gnome-update-script")' --argstr keep-going true --argstr commit true --- pkgs/desktops/gnome/update.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/desktops/gnome/update.nix b/pkgs/desktops/gnome/update.nix index 0b19f761a900..f5db71174ad8 100644 --- a/pkgs/desktops/gnome/update.nix +++ b/pkgs/desktops/gnome/update.nix @@ -21,7 +21,7 @@ let package_version="$3" version_policy="$4" - flvFlags=("$package_name" "$version_policy" "stable") + flvFlags=("$package_name" "$version_policy" "''${GNOME_UPDATE_STABILITY:-stable}") if (( $# >= 5 )); then upper_bound="$5"