chore: refactor flake to just use hakyll-site pkg variable

This commit is contained in:
Robert W. Pearce 2023-01-28 21:21:02 +13:00
parent df29dfad61
commit ec893c3c78
No known key found for this signature in database
GPG key ID: 8EE70FB52D805C55

View file

@ -45,9 +45,7 @@
flake = pkgs.hakyllProject.flake {};
executable = "ssg:exe:hakyll-site";
hakyll-site = flake.packages.${executable};
hakyll-site = flake.packages."ssg:exe:hakyll-site";
website = pkgs.stdenv.mkDerivation {
name = "website";
@ -68,7 +66,7 @@
"${pkgs.glibcLocales}/lib/locale/locale-archive";
buildPhase = ''
${flake.packages.${executable}}/bin/hakyll-site build --verbose
${hakyll-site}/bin/hakyll-site build --verbose
'';
installPhase = ''