From 74eb649e4eaa7a41f76c53d4e427500c046b9215 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Tue, 14 Sep 2021 15:04:59 -0300 Subject: [PATCH] emacsPackages.power-mode: use trivialBuild --- .../emacs/elisp-packages/power-mode/default.nix | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/power-mode/default.nix b/pkgs/applications/editors/emacs/elisp-packages/power-mode/default.nix index 035c906c8ab3..75015a959c2b 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/power-mode/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/power-mode/default.nix @@ -1,12 +1,12 @@ { lib -, stdenv +, trivialBuild , fetchFromGitHub , emacs }: -stdenv.mkDerivation rec { +trivialBuild rec { pname = "power-mode"; - version = "2021-06-06"; + version = "0.0.0+unstable=2021-06-06"; src = fetchFromGitHub { owner = "elizagamedev"; @@ -15,15 +15,8 @@ stdenv.mkDerivation rec { hash = "sha256-Wy8o9QTWqvH9cP7xsTpF5QSd4mWNIPXJTadoADKeHWY="; }; - installPhase = '' - runHook preInstall - mkdir -p $out/share/emacs/site-lisp - install *.el $out/share/emacs/site-lisp - runHook postInstall - ''; - meta = { - homepage = "https://github.com/rougier/nano-theme"; + homepage = "https://github.com/elizagamedev/power-mode.el"; description = "Imbue Emacs with power!"; inherit (emacs.meta) platforms; };