diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/amp/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/amp/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/applications/editors/amp/default.nix b/nixpkgs/pkgs/applications/editors/amp/default.nix index 9be6d56ab345..5f8c56592f6d 100644 --- a/nixpkgs/pkgs/applications/editors/amp/default.nix +++ b/nixpkgs/pkgs/applications/editors/amp/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform, openssl, pkgconfig, python3, xorg, cmake, libgit2, darwin +{ lib, stdenv, fetchFromGitHub, rustPlatform, openssl, pkg-config, python3, xorg, cmake, libgit2, darwin , curl }: rustPlatform.buildRustPackage rec { @@ -14,14 +14,14 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "09v991rl2w4c4jh7ga7q1lk6wyl2vr71j5cpniij8mcvszrz78qf"; - nativeBuildInputs = [ cmake pkgconfig python3 ]; - buildInputs = [ openssl xorg.libxcb libgit2 ] ++ stdenv.lib.optionals stdenv.isDarwin + nativeBuildInputs = [ cmake pkg-config python3 ]; + buildInputs = [ openssl xorg.libxcb libgit2 ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ curl Security AppKit ]); # Tests need to write to the theme directory in HOME. preCheck = "export HOME=`mktemp -d`"; - meta = with stdenv.lib; { + meta = with lib; { description = "A modern text editor inspired by Vim"; homepage = "https://amp.rs"; license = [ licenses.gpl3 ]; |