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> { },
|
||||
}:
|
||||
with pkgs;
|
||||
let
|
||||
{pkgs ? import <nixpkgs> {}}:
|
||||
with pkgs; let
|
||||
vendoredDeps = stdenv.mkDerivation rec {
|
||||
name = "hugoVendoredDeps";
|
||||
|
||||
|
@ -28,24 +25,24 @@ let
|
|||
outputHash = "sha256-8dsJlVvCHUE/rI9YkuJVF+Nk2DeUIAiNLR4Fu/YZg50=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mart-w.de-${version}";
|
||||
version = "1.1.0";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mart-w.de-${version}";
|
||||
version = "1.0.2";
|
||||
|
||||
src = ./.;
|
||||
src = ./.;
|
||||
|
||||
nativeBuildInputs = [
|
||||
go
|
||||
hugo
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
go
|
||||
hugo
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
ln -s ${vendoredDeps} _vendor
|
||||
hugo
|
||||
'';
|
||||
buildPhase = ''
|
||||
ln -s ${vendoredDeps} _vendor
|
||||
hugo
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r ./public/* $out
|
||||
'';
|
||||
}
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r ./public/* $out
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<meta name="fediverse:creator" content="@mart_w@chaos.social">
|
Loading…
Reference in a new issue