flake: platforms override

This commit is contained in:
Zynh Ludwig 2024-12-27 02:02:41 -08:00
parent 09d7bd25b1
commit d0f98c5d04

View file

@ -1,8 +1,13 @@
{ pkgs ? import <nixpkgs> { }, additionalBuildInputs ? [ ] }:
{ pkgs ? import <nixpkgs> { }
, additionalBuildInputs ? [ ]
, platforms ? [ "x86_64-linux" "aarch64-darwin" ]
}:
with pkgs;
mkShell rec {
inherit platforms;
nativeBuildInputs = [
pkg-config
openssl