lol

Merge pull request #283341 from kpcyrd/sn0int

sn0int: enable darwin support

authored by

Fabian Affolter and committed by
GitHub
faa94b7a 73872508

+9 -4
+9 -4
pkgs/tools/security/sn0int/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 3 , rustPlatform 4 - , libsodium 5 4 , libseccomp 6 - , sqlite 5 + , libsodium 7 6 , pkg-config 7 + , pkgs 8 + , sqlite 9 + , stdenv 8 10 }: 9 11 10 12 rustPlatform.buildRustPackage rec { ··· 26 28 27 29 buildInputs = [ 28 30 libsodium 31 + sqlite 32 + ] ++ lib.optionals stdenv.isLinux [ 29 33 libseccomp 30 - sqlite 34 + ] ++ lib.optionals stdenv.isDarwin [ 35 + pkgs.darwin.apple_sdk.frameworks.Security 31 36 ]; 32 37 33 38 # One of the dependencies (chrootable-https) tries to read "/etc/resolv.conf" ··· 40 45 changelog = "https://github.com/kpcyrd/sn0int/releases/tag/v${version}"; 41 46 license = with licenses; [ gpl3Plus ]; 42 47 maintainers = with maintainers; [ fab xrelkd ]; 43 - platforms = platforms.linux; 48 + platforms = platforms.linux ++ platforms.darwin; 44 49 }; 45 50 }