Jump to content

All translations

Enter a message name below to show all available translations.

Message

Found one translation.

NameCurrent message text
 h English (en)Nix can be used to deterministically import Hugo themes by pinning them to a specific revision:
{{file|shell.nix|nix|<nowiki>
{ pkgs ? import <nixpkgs> {} }: let
  hugo-theme = pkgs.fetchFromGitHub {
   owner = "vaga";
   repo = "hugo-theme-m10c";
   rev = "862c6e941be9bc46ce8adc6a2fa9e984ba647d6f";
   hash = "sha256-wcJSGjL/u43hPLblPmUhusqiMmadVBWJhihRinRXqzg=";
  };
in
  pkgs.mkShellNoCC {
   packages = [
     pkgs.hugo
     # Other dependencies for your project.
   ];
   shellHook = ''
     mkdir -p themes
     ln -snf "${hugo-theme}" themes/m10c
   '';
  }
</nowiki>}}