diff --git a/pkgs/applications/networking/instant-messengers/slack/default.nix b/pkgs/by-name/sl/slack/package.nix similarity index 100% rename from pkgs/applications/networking/instant-messengers/slack/default.nix rename to pkgs/by-name/sl/slack/package.nix diff --git a/pkgs/applications/networking/instant-messengers/slack/update.sh b/pkgs/by-name/sl/slack/update.sh similarity index 96% rename from pkgs/applications/networking/instant-messengers/slack/update.sh rename to pkgs/by-name/sl/slack/update.sh index 8b66e30002843..48bc9b0ef9e23 100755 --- a/pkgs/applications/networking/instant-messengers/slack/update.sh +++ b/pkgs/by-name/sl/slack/update.sh @@ -7,7 +7,7 @@ latest_linux_version=$(curl -L --silent https://slack.com/downloads/linux | sed latest_mac_version=$(curl -L --silent https://slack.com/downloads/mac | sed -n 's/.*Version \([0-9\.]\+\).*/\1/p') nixpkgs="$(git rev-parse --show-toplevel)" -slack_nix="$nixpkgs/pkgs/applications/networking/instant-messengers/slack/default.nix" +slack_nix="$nixpkgs/pkgs/by-name/sl/slack/package.nix" nixpkgs_linux_version=$(cat "$slack_nix" | sed -n 's/.*x86_64-linux-version = \"\([0-9\.]\+\)\";.*/\1/p') nixpkgs_mac_version=$(cat "$slack_nix" | sed -n 's/.*x86_64-darwin-version = \"\([0-9\.]\+\)\";.*/\1/p') nixpkgs_mac_arm_version=$(cat "$slack_nix" | sed -n 's/.*aarch64-darwin-version = \"\([0-9\.]\+\)\";.*/\1/p') diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 69eeb0c3ddaa2..800bd0284480f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14182,8 +14182,6 @@ with pkgs; singularity-overriden-nixos ; - slack = callPackage ../applications/networking/instant-messengers/slack { }; - sosreport = python3Packages.callPackage ../applications/logging/sosreport { }; inherit (callPackages ../development/libraries/wlroots {})