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, pkg-config, btrfs-progs, gpgme, lvm2, Security }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, pkg-config, btrfs-progs, gpgme, lvm2 }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "dive";
|
||||
@@ -15,8 +15,7 @@ buildGoModule rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isLinux [ btrfs-progs gpgme lvm2 ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
buildInputs = stdenv.lib.optionals stdenv.isLinux [ btrfs-progs gpgme lvm2 ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user