mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
balena-cli: fix darwin build
This commit is contained in:
parent
3465e1aa80
commit
40b8d88dd5
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildNpmPackage
|
||||
, overrideSDK
|
||||
, fetchFromGitHub
|
||||
, testers
|
||||
, balena-cli
|
||||
@ -10,7 +11,12 @@
|
||||
, darwin
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
let
|
||||
# Fix for: https://github.com/NixOS/nixpkgs/issues/272156
|
||||
buildNpmPackage' = buildNpmPackage.override {
|
||||
stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
|
||||
};
|
||||
in buildNpmPackage' rec {
|
||||
pname = "balena-cli";
|
||||
version = "17.4.9";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user