flake: platforms override
This commit is contained in:
parent
09d7bd25b1
commit
d0f98c5d04
1 changed files with 6 additions and 1 deletions
|
@ -1,8 +1,13 @@
|
||||||
{ pkgs ? import <nixpkgs> { }, additionalBuildInputs ? [ ] }:
|
{ pkgs ? import <nixpkgs> { }
|
||||||
|
, additionalBuildInputs ? [ ]
|
||||||
|
, platforms ? [ "x86_64-linux" "aarch64-darwin" ]
|
||||||
|
}:
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
mkShell rec {
|
mkShell rec {
|
||||||
|
inherit platforms;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
openssl
|
openssl
|
||||||
|
|
Loading…
Reference in a new issue