{ stdenvNoCC, pkgs }: stdenvNoCC.mkDerivation { pname = "md-manual"; version = "1.0.0"; src = ./.; installPhase = '' mkdir $out cp index.md $out/index.md cp -r ${pkgs.amg.manual-assets} $out/assets cp -r ${pkgs.amg.nixpkgs-manual} $out/Nixpkgs/ cp -r ${pkgs.amg.aux-wiki} $out/Aux ''; }