try to improve building on aarch64-darwin
Alan Pearce alan@alanpearce.eu
Fri, 19 Apr 2024 22:10:10 +0200
2 files changed, 3 insertions(+), 1 deletions(-)
jump to
M nix/default.nix → nix/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 '';