20 lines
552 B
Nix
20 lines
552 B
Nix
let
|
|
nixpkgs = builtins.fetchTarball "https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz";
|
|
pkgs = import nixpkgs { };
|
|
hugo-theme = builtins.fetchTarball {
|
|
url = "https://github.com/panr/hugo-theme-terminal/archive/refs/tags/v4.2.3.tar.gz";
|
|
name = "hugo-theme-terminal";
|
|
sha256 = "10n1frbm1qvwyq5gz7hfdz4aapkzbamgpbwk1941ajm5axbb53hm";
|
|
};
|
|
in
|
|
pkgs.mkShellNoCC {
|
|
packages = [
|
|
pkgs.hugo
|
|
pkgs.just
|
|
];
|
|
|
|
shellHook = ''
|
|
mkdir -p themes
|
|
ln -snf "${hugo-theme}" themes/default
|
|
'';
|
|
}
|