Merge pull request #261118 from trofi/cowpatty-parallel-fix

cowpatty: backport parallel build fix

authored by

Mario Rodas and committed by
GitHub
77ed358e 8055e679

+13
+13
pkgs/tools/security/cowpatty/default.nix
··· 2 , stdenv 3 , clang 4 , fetchFromGitHub 5 , installShellFiles 6 , openssl 7 , libpcap ··· 18 sha256 = "0fvwwghhd7wsx0lw2dj9rdsjnirawnq3c6silzvhi0yfnzn5fs0s"; 19 }; 20 21 nativeBuildInputs = [ 22 clang 23 installShellFiles ··· 27 openssl 28 libpcap 29 ]; 30 31 makeFlags = [ 32 "DESTDIR=$(out)"
··· 2 , stdenv 3 , clang 4 , fetchFromGitHub 5 + , fetchpatch 6 , installShellFiles 7 , openssl 8 , libpcap ··· 19 sha256 = "0fvwwghhd7wsx0lw2dj9rdsjnirawnq3c6silzvhi0yfnzn5fs0s"; 20 }; 21 22 + patches = [ 23 + # Pull upstream fix for parallel builds: 24 + # https://github.com/joswr1ght/cowpatty/pull/5 25 + (fetchpatch { 26 + name = "fix-parallel.patch"; 27 + url = "https://github.com/joswr1ght/cowpatty/commit/9c8cc09c4fa90aebee44afcd0ad6a35539178478.patch"; 28 + hash = "sha256-k0Qht80HcjvPoxVPF6wAXwxN3d2mxBrEyeFGuU7w9eA="; 29 + }) 30 + ]; 31 + 32 nativeBuildInputs = [ 33 clang 34 installShellFiles ··· 38 openssl 39 libpcap 40 ]; 41 + 42 + enableParallelBuilding = true; 43 44 makeFlags = [ 45 "DESTDIR=$(out)"