From 7cae942a4eeff10f0c96710405a69b3528d72746 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Tue, 20 Dec 2016 00:06:21 +0100 Subject: [PATCH] le blog de cuisine est MaJ par git et non un tarball --- blog-lothy-recette.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/blog-lothy-recette.nix b/blog-lothy-recette.nix index 77e038f..cf3cdf7 100644 --- a/blog-lothy-recette.nix +++ b/blog-lothy-recette.nix @@ -7,11 +7,16 @@ stdenv.mkDerivation rec { version = "MASTER"; name = "blog-gallery-${version}"; - src = fetchTarball { - url = "https://gogs.prunetwork.fr/lothy/recette-cuisine/archive/master.tar.gz"; + #src = fetchTarball { + # url = "https://gogs.prunetwork.fr/lothy/recette-cuisine/archive/master.tar.gz"; + #}; + + src = fetchgit { + url = "https://gogs.prunetwork.fr/lothy/recette-cuisine.git"; + sha256 = "1kfjwx095hm80qzjvchnbikm3xc4j6vfzbnfc3yrrk2qc6lz0ghc"; }; - buildInputs = [ jekyll ]; + buildInputs = [ pkgs.jekyll ]; buildPhase = "jekyll build"; installPhase = "cp -R _site \$out";