formatted the code with alejandra

This commit is contained in:
2024-03-03 02:11:14 +05:30
parent 0528e06873
commit ef89207879
34 changed files with 1035 additions and 976 deletions

View File

@ -1,30 +1,32 @@
{ stdenv, lib, fetchFromGitHub }:
let
{
stdenv,
lib,
fetchFromGitHub,
}: let
custom = ./custom;
in
stdenv.mkDerivation {
pname = "nvchad";
version = "2.0.0";
stdenv.mkDerivation {
pname = "nvchad";
version = "2.0.0";
src = fetchFromGitHub {
owner = "NvChad";
repo = "NvChad";
rev = "refs/heads/v2.0";
sha256 = "sha256-tKMvKdB3jPSvcyewaOe8oak3pXhjAcLyyxgGMiMeqeU=";
};
src = fetchFromGitHub {
owner = "NvChad";
repo = "NvChad";
rev = "refs/heads/v2.0";
sha256 = "sha256-tKMvKdB3jPSvcyewaOe8oak3pXhjAcLyyxgGMiMeqeU=";
};
installPhase = ''
mkdir $out
cp -r * "$out/"
mkdir -p "$out/lua/custom"
cp -r ${custom}/* "$out/lua/custom/"
'';
installPhase = ''
mkdir $out
cp -r * "$out/"
mkdir -p "$out/lua/custom"
cp -r ${custom}/* "$out/lua/custom/"
'';
meta = with lib; {
description = "NvChad";
homepage = "https://github.com/NvChad/NvChad";
platforms = platforms.all;
license = licenses.gpl3;
};
}
meta = with lib; {
description = "NvChad";
homepage = "https://github.com/NvChad/NvChad";
platforms = platforms.all;
license = licenses.gpl3;
};
}