diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-03-27 07:33:21 +0000 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-03-27 07:33:21 +0000 |
commit | 066db11215a2287a88a80ec71595cd8764563444 (patch) | |
tree | 9b463617906764f1e824df6f56f7721d475f3a71 /pkgs/servers/imgproxy/default.nix | |
parent | 0bba7474b3e6c8cef36960614446447d38ec04c9 (diff) | |
download | nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar.gz nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar.bz2 nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar.lz nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar.xz nixpkgs-066db11215a2287a88a80ec71595cd8764563444.tar.zst nixpkgs-066db11215a2287a88a80ec71595cd8764563444.zip |
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504c9e09f067cc6dee6b5aeec43a1405c, reversing changes made to afd997aab6e9b7a322198092c7828d6c560ac06f. Instead we propagate those frameworks from the compiler again
Diffstat (limited to 'pkgs/servers/imgproxy/default.nix')
-rw-r--r-- | pkgs/servers/imgproxy/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/servers/imgproxy/default.nix b/pkgs/servers/imgproxy/default.nix index c7d0d910ac1..4cdfddcff6f 100644 --- a/pkgs/servers/imgproxy/default.nix +++ b/pkgs/servers/imgproxy/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoModule, fetchFromGitHub, pkg-config, vips, gobject-introspection, Security }: +{ lib, buildGoModule, fetchFromGitHub, pkg-config, vips, gobject-introspection }: buildGoModule rec { pname = "imgproxy"; @@ -15,14 +15,13 @@ buildGoModule rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ gobject-introspection vips ] - ++ stdenv.lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = [ gobject-introspection vips ]; preBuild = '' export CGO_LDFLAGS_ALLOW='-(s|w)' ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Fast and secure on-the-fly image processing server written in Go"; homepage = "https://imgproxy.net"; license = licenses.mit; |