emacsPackages.sunrise-commander: use trivialBuild
This commit is contained in:
parent
a4d539be9f
commit
5fa31a4962
1 changed files with 2 additions and 15 deletions
|
@ -1,10 +1,10 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, trivialBuild
|
||||
, fetchFromGitHub
|
||||
, emacs
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
trivialBuild rec {
|
||||
pname = "sunrise-commander";
|
||||
version = "0.0.0+unstable=2021-07-22";
|
||||
|
||||
|
@ -19,19 +19,6 @@ stdenv.mkDerivation rec {
|
|||
emacs
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
emacs -q --no-splash --directory=. --batch --file=batch-byte-compile *.el
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/emacs/site-lisp
|
||||
install *.el* $out/share/emacs/site-lisp
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/sunrise-commander/sunrise-commander/";
|
||||
description = "Orthodox (two-pane) file manager for Emacs";
|
||||
|
|
Loading…
Reference in a new issue