Compare commits
No commits in common. "518bcab349fd56849a8e65123246de4fd74a7366" and "915963ff9f54be3a2cde62d0708f45942501f700" have entirely different histories.
518bcab349
...
915963ff9f
41
default.nix
41
default.nix
|
@ -1,8 +1,5 @@
|
||||||
{
|
{pkgs ? import <nixpkgs> {}}:
|
||||||
pkgs ? import <nixpkgs> { },
|
with pkgs; let
|
||||||
}:
|
|
||||||
with pkgs;
|
|
||||||
let
|
|
||||||
vendoredDeps = stdenv.mkDerivation rec {
|
vendoredDeps = stdenv.mkDerivation rec {
|
||||||
name = "hugoVendoredDeps";
|
name = "hugoVendoredDeps";
|
||||||
|
|
||||||
|
@ -28,24 +25,24 @@ let
|
||||||
outputHash = "sha256-8dsJlVvCHUE/rI9YkuJVF+Nk2DeUIAiNLR4Fu/YZg50=";
|
outputHash = "sha256-8dsJlVvCHUE/rI9YkuJVF+Nk2DeUIAiNLR4Fu/YZg50=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mart-w.de-${version}";
|
name = "mart-w.de-${version}";
|
||||||
version = "1.1.0";
|
version = "1.0.2";
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
go
|
go
|
||||||
hugo
|
hugo
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
ln -s ${vendoredDeps} _vendor
|
ln -s ${vendoredDeps} _vendor
|
||||||
hugo
|
hugo
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -r ./public/* $out
|
cp -r ./public/* $out
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
<meta name="fediverse:creator" content="@mart_w@chaos.social">
|
|
Loading…
Reference in a new issue