Skip to content

Commit

Permalink
slack: move to pkgs/by-name
Browse files Browse the repository at this point in the history
  • Loading branch information
teutat3s committed Dec 19, 2024
1 parent df0de40 commit 6dc58c7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {})
Expand Down

0 comments on commit 6dc58c7

Please sign in to comment.