Comment Comment by fuzztester why did you embed the c++ code in the .nix file?just to have everything in one file? how to show how to do it with nix?because it seem simpler to have a separate C++ file, and a simple shell script or makefile to compile it.e.g. although I could figure out roughly what the .nix file does, many more people would know plain unix shell than nix.and where is $out defined in the .nix file? parent fuzztester 1 year ago
just to have everything in one file? how to show how to do it with nix?
because it seem simpler to have a separate C++ file, and a simple shell script or makefile to compile it.
e.g. although I could figure out roughly what the .nix file does, many more people would know plain unix shell than nix.
and where is $out defined in the .nix file?