|
|
|
|
|
by fuzztester
364 days ago
|
|
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? |
|
$out is a magic variable in nix that means the output of the derivation - the directory that nix moves to its final destination