lol

gbl: darwin support

Co-authored-by: Bobby Rong <rjl931189261@126.com>

+6 -2
+3 -1
pkgs/tools/archivers/gbl/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , fetchFromGitHub 3 4 , rustPlatform 4 5 , fetchpatch ··· 6 7 , openssl 7 8 , testers 8 9 , gbl 10 + , Security 9 11 }: 10 12 11 13 rustPlatform.buildRustPackage rec { ··· 31 33 cargoSha256 = "sha256-RUZ6wswRtV8chq3+bY9LTRf6IYMbZ9/GPl2X5UcF7d8="; 32 34 33 35 nativeBuildInputs = [ pkg-config ]; 34 - buildInputs = [ openssl ]; 36 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; 35 37 36 38 passthru.tests.version = 37 39 testers.testVersion { package = gbl; };
+3 -1
pkgs/top-level/all-packages.nix
··· 2198 2198 2199 2199 fxlinuxprintutil = callPackage ../tools/misc/fxlinuxprintutil { }; 2200 2200 2201 - gbl = callPackage ../tools/archivers/gbl { }; 2201 + gbl = callPackage ../tools/archivers/gbl { 2202 + inherit (darwin.apple_sdk.frameworks) Security; 2203 + }; 2202 2204 2203 2205 genann = callPackage ../development/libraries/genann { }; 2204 2206