From 5b5d38a7e7a52489c7f9134f0a4d153a459d7d8f Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Wed, 14 Oct 2020 10:17:26 +0900 Subject: [PATCH] sudolikeaboss: remove input propagation and unused hook This package is a leaf that exports no libraries, so propagating its inputs should have no effect. The fixDarwinDylibNames hook only applies to *.dylib files, which this package does not contain. --- pkgs/tools/security/sudolikeaboss/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/security/sudolikeaboss/default.nix b/pkgs/tools/security/sudolikeaboss/default.nix index 4c0b80d995a..639926578c7 100644 --- a/pkgs/tools/security/sudolikeaboss/default.nix +++ b/pkgs/tools/security/sudolikeaboss/default.nix @@ -1,5 +1,5 @@ # This file was generated by go2nix, then modified by hand for Darwin support. -{ stdenv, buildGoPackage, fetchFromGitHub, fixDarwinDylibNames, darwin }: +{ stdenv, buildGoPackage, fetchFromGitHub, darwin }: buildGoPackage rec { pname = "sudolikeaboss-unstable"; @@ -17,13 +17,10 @@ buildGoPackage rec { goDeps = ./deps.nix; - propagatedBuildInputs = with darwin.apple_sdk.frameworks; [ + buildInputs = with darwin.apple_sdk.frameworks; [ Cocoa ]; - propagatedNativeBuildInputs = - stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; - meta = with stdenv.lib; { inherit version; inherit (src.meta) homepage;