ananicy-rules-cachyos: fix hooks and pname

This commit is contained in:
diniamo 2024-04-14 14:01:26 +02:00
parent de009cd3d1
commit bdf1699ea1

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub }: { lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation {
pname = "ananicy"; pname = "ananicy-rules-cachyos";
version = "unstable-2024-04-10"; version = "unstable-2024-04-10";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -15,11 +15,11 @@ stdenv.mkDerivation rec {
dontBuild = true; dontBuild = true;
installPhase = '' installPhase = ''
runHook preBuild runHook preInstall
mkdir -p $out mkdir -p $out
cp -r * $out cp -r * $out
rm $out/README.md rm $out/README.md
runHook postBuild runHook postInstall
''; '';
meta = with lib; { meta = with lib; {
@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
description = "ananicy-cpp-rules for CachyOS "; description = "ananicy-cpp-rules for CachyOS ";
license = licenses.gpl3Only; license = licenses.gpl3Only;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ artturin johnrtitor ]; maintainers = with maintainers; [ artturin johnrtitor diniamo ];
}; };
} }