Use ripcord derivation from nixos-unstable
Alan Pearce alan@alanpearce.eu
Wed, 05 Aug 2020 12:15:00 +0200
3 files changed, 2 insertions(+), 30 deletions(-)
M user/overlays/extra-packages.nix → user/overlays/extra-packages.nix
@@ -3,7 +3,6 @@ { lumen = super.callPackage ../packages/lumen { buildGoPackage = self.buildGo112Package; }; - ripcord = super.callPackage ../packages/ripcord {}; node2nixPackages = import ../packages/node2nix { pkgs = super; };
D user/packages/ripcord/default.nix
@@ -1,28 +0,0 @@-{ pkgs, lib, fetchurl, makeDesktopItem, ... }: - -let - pname = "ripcord"; - version = "0.4.24"; - - desktopItem = makeDesktopItem { - name = "Ripcord"; - exec = "ripcord"; - comment = "Desktop chat client for Slack (and Discord)"; - desktopName = "Ripcord"; - categories = "Network;InstantMessaging;Chat"; - genericName = "Team messenger"; - }; -in -pkgs.appimageTools.wrapType2 rec { - name = "${pname}-${version}"; - - src = fetchurl { - url = "https://cancel.fm/dl/Ripcord-${version}-x86_64.AppImage"; - sha256 = "0rscmnwxvbdl0vfx1pz7x5gxs9qsjk905zmcad4f330j5l5m227z"; - }; - - extraInstallCommands = '' - mv $out/bin/{${name},${pname}} - ${desktopItem.buildCommand} - ''; -}
M user/settings/satoshipay.nix → user/settings/satoshipay.nix
@@ -2,6 +2,7 @@ { config, lib, pkgs, ... }: let inherit (pkgs) stdenv; + unstablePkgs = if !stdenv.isDarwin then import <nixos-unstable> {} else {}; spGitConfig = { user.email = "alan@satoshipay.io"; }; @@ -36,7 +37,7 @@ [ docker_compose redis-desktop-manager - ripcord + unstablePkgs.ripcord robo3t ]));