packr: fix build on darwin
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, stdenv
|
||||
, Security
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -16,9 +17,11 @@ buildGoModule rec {
|
||||
|
||||
subPackages = [ "packr" "v2/packr2" ];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
modSha256 = "0afhkvivma16bi8rz3kwcsz9mhmcn4zm6rrymxkvazx6b844hcdv";
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "The simple and easy way to embed static files into Go binaries";
|
||||
homepage = "https://github.com/gobuffalo/packr";
|
||||
license = licenses.mit;
|
||||
|
||||
Reference in New Issue
Block a user