1

Derivation: Update template

This commit is contained in:
2025-07-06 03:06:05 +02:00
parent 1c86926834
commit 3eae2f9b01

View File

@ -0,0 +1,52 @@
{
lib,
stdenv,
stdenvNoCC,
}:
stdenv.mkDerivation {
pname = "TEMPLATE";
version = "";
src = ./.;
dontConfigure = true;
dontBuild = true;
doCheck = false;
installPhase = ''
runHook preInstall
mkdir -p $out
touch $out/TEMPLATE
runHook postInstall
'';
meta = with lib; {
description = "TEMPLATE";
homepage = "TEMPLATE";
license = licenses.mit;
};
}
# Or without cc:
# stdenvNoCC.mkDerivation {
# pname = "TEMPLATE";
# version = "";
#
# src = ./.;
#
# installPhase = ''
# runHook preInstall
#
# mkdir -p $out
# touch $out/TEMPLATE
#
# runHook postInstall
# '';
#
# meta = with lib; {
# description = "TEMPLATE";
# homepage = "TEMPLATE";
# license = licenses.mit;
# };
# }