diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-10-12 18:28:15 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-10-12 18:28:15 +0200 |
commit | c880884656ef8ae550217269f717a73e1a9a67d4 (patch) | |
tree | fb7ec78327b28c50ccdd295c5e2702008ea868f4 /pkgs/applications/audio/spotify-tui/default.nix | |
parent | b2db28464b838f99b8ed910729237afa544dab09 (diff) | |
download | nixpkgs-c880884656ef8ae550217269f717a73e1a9a67d4.tar nixpkgs-c880884656ef8ae550217269f717a73e1a9a67d4.tar.gz nixpkgs-c880884656ef8ae550217269f717a73e1a9a67d4.tar.bz2 nixpkgs-c880884656ef8ae550217269f717a73e1a9a67d4.tar.lz nixpkgs-c880884656ef8ae550217269f717a73e1a9a67d4.tar.xz nixpkgs-c880884656ef8ae550217269f717a73e1a9a67d4.tar.zst nixpkgs-c880884656ef8ae550217269f717a73e1a9a67d4.zip |
spotify-tui: fix darwin build
Diffstat (limited to 'pkgs/applications/audio/spotify-tui/default.nix')
-rw-r--r-- | pkgs/applications/audio/spotify-tui/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/audio/spotify-tui/default.nix b/pkgs/applications/audio/spotify-tui/default.nix index 441d0efcb52..14c9a88d4e4 100644 --- a/pkgs/applications/audio/spotify-tui/default.nix +++ b/pkgs/applications/audio/spotify-tui/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl }: +{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }: rustPlatform.buildRustPackage rec { pname = "spotify-tui"; @@ -12,9 +12,10 @@ rustPlatform.buildRustPackage rec { }; cargoSha256 = "029g80mcqvmckszpbzm4hxs5w63n41ah4rc1b93i9c1nzvncd811"; - + nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ openssl ]; + buildInputs = [ openssl ] + ++ stdenv.lib.optional stdenv.isDarwin Security; meta = with stdenv.lib; { description = "Spotify for the terminal written in Rust"; |