Browse Source

Meta: Fix nix-build

master
bake 1 month ago
parent
commit
4294f333e0
2 changed files with 4 additions and 3 deletions
  1. 2
    1
      .gitignore
  2. 2
    2
      default.nix

+ 2
- 1
.gitignore View File

@@ -1 +1,2 @@
public/
public
result

+ 2
- 2
default.nix View File

@@ -4,6 +4,6 @@ in pkgs.stdenv.mkDerivation {
name = "fussel.space";
src = ./.;
buildInputs = with pkgs; [ git hugo ];
buildPhase = "hugo";
installPhase = "mkdir --minify -p $out && cp -r public/* $out";
buildPhase = "hugo --minify";
installPhase = "mkdir -p $out && cp -r public/* $out";
}

Loading…
Cancel
Save