diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:54:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:54:00 -0500 |
commit | 42b14764abe9f68ad318657741cadb42a3db4bd9 (patch) | |
tree | 685fedb149bbfae12f7014b47f9da95dac1bc938 /pkgs/development/tools/pet | |
parent | fda0e24e5879b0cf4fb4ce54dda615f474a1c52f (diff) |
pet: fix build on darwin
Diffstat (limited to 'pkgs/development/tools/pet')
-rw-r--r-- | pkgs/development/tools/pet/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/tools/pet/default.nix b/pkgs/development/tools/pet/default.nix index e7f4fce3c4d4c..f1096e479a78f 100644 --- a/pkgs/development/tools/pet/default.nix +++ b/pkgs/development/tools/pet/default.nix @@ -1,4 +1,4 @@ -{ buildGoModule, fetchFromGitHub, lib }: +{ buildGoModule, fetchFromGitHub, stdenv, Security }: buildGoModule rec { pname = "pet"; @@ -13,9 +13,11 @@ buildGoModule rec { modSha256 = "06ham8lsx5c1vk5jkwp1aa9g4q4g7sfq7gxz2gkffa98x2vlawyf"; + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; + subPackages = [ "." ]; - meta = with lib; { + meta = with stdenv.lib; { description = "Simple command-line snippet manager, written in Go"; homepage = https://github.com/knqyf263/pet; license = licenses.mit; |