nim-unwrapped: Add missing Security framework buildInput

This commit is contained in:
toonn 2023-03-27 13:28:46 +02:00
parent 0ef1c25e14
commit 855b6e2ad0
No known key found for this signature in database
GPG key ID: FE4CE9E311FD9A47
2 changed files with 6 additions and 4 deletions

View file

@ -3,7 +3,7 @@
{ lib, callPackage, buildPackages, stdenv, fetchurl, fetchgit, fetchFromGitHub
, makeWrapper, openssl, pcre, readline, boehmgc, sqlite, nim-unwrapped
, nimble-unwrapped }:
, nimble-unwrapped, Security }:
let
parseCpu = platform:
@ -94,7 +94,8 @@ in {
hash = "sha256-rO8LCrdzYE1Nc5S2hRntt0+zD0aRIpSyi8J+DHtLTcI=";
};
buildInputs = [ boehmgc openssl pcre readline sqlite ];
buildInputs = [ boehmgc openssl pcre readline sqlite ]
++ lib.optional stdenv.isDarwin Security;
patches = [
./NIM_CONFIG_DIR.patch

View file

@ -15579,8 +15579,9 @@ with pkgs;
muonlang = callPackage ../development/compilers/muonlang { };
inherit (callPackages ../development/compilers/nim { })
nim-unwrapped nimble-unwrapped nim;
inherit (callPackages ../development/compilers/nim
{ inherit (darwin) Security; }
) nim-unwrapped nimble-unwrapped nim;
nimPackages = recurseIntoAttrs nim.pkgs;
nrpl = callPackage ../development/tools/nrpl { };