nix/modules/nvchad/default.nix

23 lines
450 B
Nix
Raw Normal View History

2024-07-03 22:19:07 +02:00
{ stdenv, pkgs, fetchFromGithub }:
{
nvchad = stdenv.mkDerivation rec {
pname = "nvchad";
version = "";
dontBuild = true;
src = pkgs.fetchFromGitHub {
owner = "NvChad";
repo = "NvChad";
rev = "c8777040fbda6a656f149877b796d120085cd918";
sha256 = "sha256-J4SGwo/XkKFXvq+Va1EEBm8YOQwIPPGWH3JqCGpFnxY=";
};
installPhase = ''
# Fetch the whole repo and put it in $out
mkdir $out
cp -aR $src/* $out/
'';
};
}