From d0f98c5d042194aa25435b74be034f4da578ccf7 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 27 Dec 2024 02:02:41 -0800 Subject: [PATCH] flake: platforms override --- shell.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 0f57cae..f86e111 100644 --- a/shell.nix +++ b/shell.nix @@ -1,8 +1,13 @@ -{ pkgs ? import { }, additionalBuildInputs ? [ ] }: +{ pkgs ? import { } +, additionalBuildInputs ? [ ] +, platforms ? [ "x86_64-linux" "aarch64-darwin" ] +}: with pkgs; mkShell rec { + inherit platforms; + nativeBuildInputs = [ pkg-config openssl