all repos — website @ bf469bae36ebad75bfd167074f104b6b2d66a3b0

My website

try to improve building on aarch64-darwin

Alan Pearce
commit

bf469bae36ebad75bfd167074f104b6b2d66a3b0

parent

6fa56947adc7017bf5034010b516dd26b90c82b8

2 files changed, 3 insertions(+), 1 deletion(-)

changed files
M flake.nixflake.nix
@@ -29,6 +29,7 @@ {
inherit packages; devShells = { default = pkgs.mkShell { + inputsFrom = [ packages.builder ]; packages = with pkgs; [ gopls gotools
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 '';