I am maintaining ryzen_monitor_ng.
The upstream repo committed binaries and .o files, so I need to clean them out before building the program.
make clean
will remove the .o files, and I just have to manually remove the binary with rm src/ryzen_monitor
. After those commands, make all
builds the binary properly.
I was advised to use makeTargets
in the PR. However, I have since found that makeTargets
wasn’t doing anything. I can’t find any documentation on it. I see a number of packages in nixpkgs use makeTarget
or makeTargets
, but all the relevant uses of makeTarget
in mkDerivation either only included targets that would have been built anyway by the first target in the makefile or didn’t need to run because the output was already in the repo.
I understand that makeTarget
or makeTargets
is being passed as an env var to the builder, but the default builder doesn’t use either variable, only makeFlags
.
Am I using makeTarget
wrong?