diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-06-02 09:40:55 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-06-02 09:44:13 +0200 |
commit | 9f6a9ce3689a1bbaf271f31b93bd595fc8185187 (patch) | |
tree | dfa997c98ff270806ef3cdb33e58a881d7431dab | |
parent | 5751988b556ef354b3689e82406ddc9df8d39547 (diff) |
gnome3.updateScript: clean up PATH
grep was not actually properly included by common-updater-scripts before
01050586980a81e525428eb9e571a8b040f96b26 but I am not sure why would we ever
need to add coreutils to PATH.
-rw-r--r-- | pkgs/desktops/gnome-3/update.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/desktops/gnome-3/update.nix b/pkgs/desktops/gnome-3/update.nix index 2ee72d46993d..f42b67239505 100644 --- a/pkgs/desktops/gnome-3/update.nix +++ b/pkgs/desktops/gnome-3/update.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, writeScript, python3, common-updater-scripts, coreutils, gnugrep, gnused }: +{ stdenv, lib, writeScript, python3, common-updater-scripts }: { packageName, attrPath ? packageName, versionPolicy ? "odd-unstable" }: let @@ -9,7 +9,7 @@ let package_name="$1" attr_path="$2" version_policy="$3" - PATH=${lib.makeBinPath [ common-updater-scripts coreutils gnugrep gnused python ]} + PATH=${lib.makeBinPath [ common-updater-scripts python ]} latest_tag=$(python "${./find-latest-version.py}" "$package_name" "$version_policy" "stable") update-source-version "$attr_path" "$latest_tag" ''; |