fix building with nix

This commit is contained in:
Tim Schubert 2021-08-19 20:50:04 +02:00
parent fdf65e138d
commit 52d6b452f7
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
3 changed files with 62 additions and 1 deletions

15
flake.nix Normal file
View file

@ -0,0 +1,15 @@
{
description = "dadada's homepage";
inputs = {
hugo-theme-anubis = {
url = github:mitrichius/hugo-theme-anubis;
flake = false;
};
};
outputs = { self, hugo-theme-anubis, nixpkgs }: {
packages.x86_64-linux.homePage = nixpkgs.legacyPackages.x86_64-linux.callPackage ./default.nix { inherit hugo-theme-anubis; };
defaultPackage.x86_64-linux = self.packages.x86_64-linux.homePage;
};
}