Unverified Commit f4b70e00 authored by Domen Kožar's avatar Domen Kožar Committed by GitHub
Browse files

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

nim-unwrapped: Add missing Security framework buildInput
parents 2c71c3e9 855b6e2a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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
+3 −2
Original line number Diff line number Diff line
@@ -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 { };