From ae491274732c5265105c9b5cb7d289bd3c096948 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 16 Nov 2024 14:32:25 +0000 Subject: [PATCH] default.nix: format --- default.nix | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/default.nix b/default.nix index f4fc7dd..1fc486a 100644 --- a/default.nix +++ b/default.nix @@ -1,17 +1,26 @@ -{ stdenv -, gnumake -, rsync -, zola +{ + gnumake, + rsync, + stdenv, + zola, }: stdenv.mkDerivation { name = "uninsane-dot-org"; src = ./.; - buildInputs = [ rsync zola ]; - nativeBuildInputs = [ gnumake ]; + + buildInputs = [ + rsync + zola + ]; + nativeBuildInputs = [ + gnumake + ]; + preInstall = '' mkdir -p $out/share/uninsane-dot-org ''; + postInstall = '' rm $out/share/uninsane-dot-org/404.html '';