all repos — website @ bf469bae36ebad75bfd167074f104b6b2d66a3b0

My website

try to improve building on aarch64-darwin

Alan Pearce
commit

bf469bae36ebad75bfd167074f104b6b2d66a3b0

parent

6fa56947adc7017bf5034010b516dd26b90c82b8

1 file changed, 2 insertions(+), 1 deletion(-)

changed files
M nix/default.nixnix/default.nix
@@ -28,6 +28,7 @@ default = server;
builder = pkgs.buildGoApplication { pname = "website-builder"; inherit version; + CGO_ENABLED = 0; src = with pkgs.lib.fileset; toSource { root = ./..; fileset = unions [
@@ -57,7 +58,7 @@ ./../static
./../templates ]; }; - buildInputs = [ builder ]; + nativeBuildInputs = [ builder ]; prePatch = '' ${builder}/bin/build '';