ménage
This commit is contained in:
12
blog-r6d.nix
12
blog-r6d.nix
@@ -4,22 +4,14 @@
|
|||||||
with import <nixpkgs> {};
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2016-07-22";
|
|
||||||
name = "r6d-blog-${version}";
|
name = "r6d-blog-${version}";
|
||||||
|
|
||||||
|
version = "2016-07-22";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/r6d/r6d.github.io/archive/${version}.tar.gz";
|
url = "https://github.com/r6d/r6d.github.io/archive/${version}.tar.gz";
|
||||||
sha256 = "09363h7drw69n717v6zmbaqv2ijdws1dbxqm0l6zn5f9cvmdp9rw";
|
sha256 = "09363h7drw69n717v6zmbaqv2ijdws1dbxqm0l6zn5f9cvmdp9rw";
|
||||||
};
|
};
|
||||||
|
|
||||||
#src = fetchgit {
|
|
||||||
# #url = "https://github.com/r6d/r6d.github.io.git";
|
|
||||||
#
|
|
||||||
# url = "file:///media/Sata2700/r6d.github.io";
|
|
||||||
# sha256 = "10yxicpqnsc4zslmmal7ksyf58qmhrrfgidlpd3d0zqbndb7myiv ";
|
|
||||||
#
|
|
||||||
# #url = "file:///media/Sata2700/Jekyll_modern-blog";
|
|
||||||
# #sha256 = "172bqfacblywrd14vla41lvbvw4a6bngcyg6c3sd1xlh9mc5xclc";
|
|
||||||
#};
|
|
||||||
buildInputs = [ jekyll ];
|
buildInputs = [ jekyll ];
|
||||||
buildPhase = "jekyll build";
|
buildPhase = "jekyll build";
|
||||||
installPhase = "cp -R _site \$out";
|
installPhase = "cp -R _site \$out";
|
||||||
|
|||||||
Reference in New Issue
Block a user