update nix files
This commit is contained in:
parent
0dca9733e7
commit
fdf65e138d
2 changed files with 6 additions and 6 deletions
|
@ -1,14 +1,14 @@
|
|||
{ stdenv, pandoc }:
|
||||
{ stdenv, hugo }:
|
||||
stdenv.mkDerivation rec {
|
||||
src = ./.;
|
||||
nativeBuildInputs = [ pandoc ];
|
||||
nativeBuildInputs = [ hugo ];
|
||||
buildPhase = ''
|
||||
./build.sh
|
||||
hugo
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r src/* $out/
|
||||
cp -r public/* $out
|
||||
'';
|
||||
name = "dadada.li";
|
||||
version = "0.1";
|
||||
version = "0.2";
|
||||
}
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
with pkgs;
|
||||
{
|
||||
this = callPackage ./nix { };
|
||||
this = callPackage ./default.nix { };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue