diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-07-21 02:13:17 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-07-21 02:13:17 +0200 |
commit | 2de35cf8eecbd52f3fa217b341172994d0e2b731 (patch) | |
tree | 7883585d10cb2cc9a7a1cae813089cb6972fe274 /pkgs/development/interpreters/evcxr | |
parent | c4323c200f5c1b08b3bf5147f95a70a58c464cfb (diff) | |
download | nixpkgs-2de35cf8eecbd52f3fa217b341172994d0e2b731.tar nixpkgs-2de35cf8eecbd52f3fa217b341172994d0e2b731.tar.gz nixpkgs-2de35cf8eecbd52f3fa217b341172994d0e2b731.tar.bz2 nixpkgs-2de35cf8eecbd52f3fa217b341172994d0e2b731.tar.lz nixpkgs-2de35cf8eecbd52f3fa217b341172994d0e2b731.tar.xz nixpkgs-2de35cf8eecbd52f3fa217b341172994d0e2b731.tar.zst nixpkgs-2de35cf8eecbd52f3fa217b341172994d0e2b731.zip |
evcxr: fix darwin build
It seems as the `Security` framework is missing during the linking in a darwin build environment: https://logs.nix.ci/?key=nixos/nixpkgs.60675&attempt_id=42d9c159-f1a2-4abc-ab14-9dea23d941b1
Diffstat (limited to 'pkgs/development/interpreters/evcxr')
-rw-r--r-- | pkgs/development/interpreters/evcxr/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/evcxr/default.nix b/pkgs/development/interpreters/evcxr/default.nix index c5099a67a1d..2c30c0ca385 100644 --- a/pkgs/development/interpreters/evcxr/default.nix +++ b/pkgs/development/interpreters/evcxr/default.nix @@ -1,4 +1,4 @@ -{ cargo, fetchFromGitHub, makeWrapper, pkgconfig, rustPlatform, stdenv, gcc }: +{ cargo, fetchFromGitHub, makeWrapper, pkgconfig, rustPlatform, stdenv, gcc, Security }: rustPlatform.buildRustPackage rec { name = "evcxr-${version}"; @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec { cargoPatches = [ ./cargo-lock.patch ]; nativeBuildInputs = [ pkgconfig makeWrapper ]; - buildInputs = [ cargo ]; + buildInputs = [ cargo ] ++ stdenv.lib.optional stdenv.isDarwin Security; postInstall = '' wrapProgram $out/bin/evcxr --prefix PATH : ${stdenv.lib.makeBinPath [ cargo gcc ]} rm $out/bin/testing_runtime |