mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
transmission_4: fix build error with our miniupnp
This commit is contained in:
parent
4b9186a1f7
commit
b0ee42d215
@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch2
|
||||
, cmake
|
||||
, pkg-config
|
||||
, python3
|
||||
@ -69,6 +70,20 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/transmission/transmission/commit/febfe49ca3ecab1a7142ecb34012c1f0b2bcdee8.patch?full_index=1";
|
||||
hash = "sha256-Ge0+AXf/ilfMieGBAdvvImY7JOb0gGIdeKprC37AROs=";
|
||||
excludes = [
|
||||
# The submodule that we don't use (we use our miniupnp)
|
||||
"third-party/miniupnp"
|
||||
# Hunk fails for this one, but we don't care because we don't rely upon
|
||||
# xcode definitions even for the Darwin build.
|
||||
"Transmission.xcodeproj/project.pbxproj"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "apparmor" ];
|
||||
|
||||
cmakeFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user