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,9 +1,8 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, lib
|
||||
, makeWrapper
|
||||
, ncurses
|
||||
, Security
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -25,14 +24,12 @@ buildGoModule rec {
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
postInstall = ''
|
||||
mv "$out/bin/wtf" "$out/bin/wtfutil"
|
||||
wrapProgram "$out/bin/wtfutil" --prefix PATH : "${ncurses.dev}/bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "The personal information dashboard for your terminal";
|
||||
homepage = "https://wtfutil.com/";
|
||||
license = licenses.mpl20;
|
||||
|
||||
Reference in New Issue
Block a user