maint: remove unnecessary srcs/phases in derivations

This commit is contained in:
Qyriad 2026-03-11 14:26:59 +01:00
parent 117652a6a6
commit a9068f86f3

View file

@ -28,24 +28,15 @@ in {
outputs = [ "out" "modules" ];
# These are propagated to sub-derivations.
doCheck = true;
doInstallCheck = true;
phases = [ "unpackPhase" "patchPhase" "installPhase" ];
src = linkFarm "dynix-source" {
inherit (self) dynixCommand dynixModules;
};
installPhase = ''
runHook preInstall
buildCommand = ''
mkdir -p "$out"
cp -r --reflink=auto "$dynixCommand/"* "$out/"
mkdir -p "$modules"
cp -r --reflink=auto "$dynixModules/"* "$modules/"
runHook postInstall
'';
#