Add back an updated version of the XDG-config paths patch
This commit is contained in:
parent
126b5f5990
commit
d1605b4538
@ -1,6 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, cmake
|
, cmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, python3
|
, python3
|
||||||
@ -53,6 +54,19 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "035qq2ff16cdl2cb9iply2bfjmhfl1dpscg79x6c9l0i9m8k41zj";
|
sha256 = "035qq2ff16cdl2cb9iply2bfjmhfl1dpscg79x6c9l0i9m8k41zj";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/audacity/audacity/commit/007852e51fcbb5f1f359d112f28b8984a604dac6.patch";
|
||||||
|
sha256 = "1ajwp0zq725qp5v98av0g9z05w153vdrk69f61aq2qa73g7p1fnz";
|
||||||
|
name = "audacity_xdg_paths.patch";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
# this file *should* be generated by cmake but as of 2.4.2 isn't yet
|
||||||
|
postPatch = ''
|
||||||
|
touch src/RevisionIdent.h
|
||||||
|
'';
|
||||||
|
|
||||||
# workaround for a broken cmake. Drop it with a later version to see if it works.
|
# workaround for a broken cmake. Drop it with a later version to see if it works.
|
||||||
# https://github.com/NixOS/nixpkgs/issues/94905
|
# https://github.com/NixOS/nixpkgs/issues/94905
|
||||||
cmakeFlags = lib.optional stdenv.isLinux "-DCMAKE_OSX_ARCHITECTURES=";
|
cmakeFlags = lib.optional stdenv.isLinux "-DCMAKE_OSX_ARCHITECTURES=";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user