From 528c9cb69bd3d1e6e19e9ffe70cd78cd4075c5b1 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 18 Aug 2023 20:31:19 +0000 Subject: [PATCH] fix: cleanup --- default.nix | 1 - pkgs/mods/default.nix | 39 --------------------------------------- 2 files changed, 40 deletions(-) delete mode 100644 pkgs/mods/default.nix diff --git a/default.nix b/default.nix index 194e0ea..4a839f9 100644 --- a/default.nix +++ b/default.nix @@ -20,7 +20,6 @@ fork-cleaner = pkgs.callPackage ./pkgs/fork-cleaner { }; gocovsh = pkgs.callPackage ./pkgs/gocovsh { }; jsonfmt = pkgs.callPackage ./pkgs/jsonfmt { }; - mods = pkgs.callPackage ./pkgs/mods { }; org-stats = pkgs.callPackage ./pkgs/org-stats { }; svu = pkgs.callPackage ./pkgs/svu { }; xdg-open-svc = pkgs.callPackage ./pkgs/xdg-open-svc { }; diff --git a/pkgs/mods/default.nix b/pkgs/mods/default.nix deleted file mode 100644 index f94d4f2..0000000 --- a/pkgs/mods/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ system ? builtins.currentSystem, pkgs, fetchurl, installShellFiles }: -let - shaMap = { - x86_64-linux = "0yzzl33bp43wplhr52m0x8xyi7v3xmkjylhw192h7kg02zrx0pvw"; - aarch64-linux = "09swx3hw9ppk51b9s929nc4k9xli6fl8idwwiyvvbf8ycx3pjam5"; - x86_64-darwin = "1niwnbnki7m257bng3pd7g5p04pw0zis4mwwriimjfinsmk4lrqd"; - aarch64-darwin = "1g3vri0pg70c7z8di79nc33fnsi37l9kasdnyfw83zbz0v6dw7l6"; - }; - - urlMap = { - x86_64-linux = - "https://github.com/charmbracelet/mods/releases/download/v0.1.1/mods_Linux_x86_64.tar.gz"; - aarch64-linux = - "https://github.com/charmbracelet/mods/releases/download/v0.1.1/mods_Linux_arm64.tar.gz"; - x86_64-darwin = - "https://github.com/charmbracelet/mods/releases/download/v0.1.1/mods_Darwin_x86_64.tar.gz"; - aarch64-darwin = - "https://github.com/charmbracelet/mods/releases/download/v0.1.1/mods_Darwin_arm64.tar.gz"; - }; -in -pkgs.stdenv.mkDerivation { - pname = "mods"; - version = "0.1.1"; - src = fetchurl { - url = urlMap.${system}; - sha256 = shaMap.${system}; - }; - - sourceRoot = "."; - - nativeBuildInputs = [ installShellFiles ]; - - installPhase = '' - mkdir -p $out/bin - cp -vr ./mods $out/bin/mods - ''; - - system = system; -}