Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{ stdenv }:
stdenv.mkDerivation
{ name = "website";
src = ../code;
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out
cp -r * $out/
ln -s /data/files $out
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment