forked from Fediversity/fediversity.eu
Arnout Engelen
96642652ad
Adds a flake so you can use `nix develop` to enter a devShell where you can use `hugo` to regenerate the site. Unfortunately this does not quite work yet: it makes various incorrect changes to the site, such as replacing links in the menu with `/`.
19 lines
366 B
Nix
19 lines
366 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
outputs = { self, nixpkgs }: {
|
|
devShells."x86_64-linux".default =
|
|
let
|
|
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
|
in
|
|
pkgs.mkShell {
|
|
packages = [
|
|
pkgs.hugo
|
|
pkgs.go
|
|
pkgs.nodejs
|
|
];
|
|
};
|
|
};
|
|
}
|