Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit4e6bf03504, reversing changes made toafd997aab6. Instead we propagate those frameworks from the compiler again
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "caddy";
|
||||
@@ -16,8 +16,6 @@ buildGoModule rec {
|
||||
};
|
||||
modSha256 = "1gc0xvsihr4zp7hkrdfrplvzkaphz1y4q53rgwn2jhd8s98l57an";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
preBuild = ''
|
||||
cat << EOF > caddy/main.go
|
||||
package main
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, callPackage, buildGoModule, fetchFromGitHub, Security }:
|
||||
{ stdenv, callPackage, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "caddy";
|
||||
@@ -16,8 +16,6 @@ buildGoModule rec {
|
||||
};
|
||||
modSha256 = "1sb8w6n84cpya2rjm0zm798kzf5vjpkr5440j1gfnnnr07jl2aqn";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://caddyserver.com";
|
||||
description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS";
|
||||
|
||||
Reference in New Issue
Block a user