3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #223373 from toonn/nim-Security-framework

nim-unwrapped: Add missing Security framework buildInput
This commit is contained in:
Domen Kožar 2023-03-28 13:57:45 +01:00 committed by GitHub
commit f4b70e0048
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -15583,8 +15583,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 { };