with (import {}); let hugo-theme-mainroad = pkgs.stdenvNoCC.mkDerivation { name = "hugo-theme-mainroad"; src = pkgs.fetchFromGitHub { owner = "vimux"; repo = "mainroad"; rev = "13e04b3694ea2d20a68cfbfaea42a8c565079809"; sha256 = "sha256-td8xQhAz/TnjZmOKIEiQjRgzdoicRrVN9h41Uxnnaso="; }; installPhase = '' cp -r $src $out ''; preferLocalBuild = true; }; in mkShell { buildInputs = [ hugo ]; shellHook = '' mkdir -p themes ln -snf "${hugo-theme-mainroad}/" "themes/mainroad" ''; }