git.iko.soy/typeable/nixpkgs
on master help sign in
Add back an updated version of the XDG-config paths patch
commitd1605b45386de4649e959a1322adf3c14971e3b9 authorDaniel Ethridge <danielethridge@icloud.com> dateMon 3 May 2021, 22:06 (6 years ago) parent126b5f5
1 file changed+14
pkgs/applications/audio/audacity/default.nix+14
pkgs/applications/audio/audacity/default.nix+14
@@ -1,6 +1,7 @@
11{ stdenv
22, lib
33, fetchFromGitHub
4+, fetchpatch
45, cmake
56, pkg-config
67, python3
@@ -53,6 +54,19 @@ stdenv.mkDerivation rec {
5354 sha256 = "035qq2ff16cdl2cb9iply2bfjmhfl1dpscg79x6c9l0i9m8k41zj";
5455 };
5556
57+ patches = [
58+ (fetchpatch {
59+ url = "https://github.com/audacity/audacity/commit/007852e51fcbb5f1f359d112f28b8984a604dac6.patch";
60+ sha256 = "1ajwp0zq725qp5v98av0g9z05w153vdrk69f61aq2qa73g7p1fnz";
61+ name = "audacity_xdg_paths.patch";
62+ })
63+ ];
64+
65+ # this file *should* be generated by cmake but as of 2.4.2 isn't yet
66+ postPatch = ''
67+ touch src/RevisionIdent.h
68+ '';
69+
5670 # workaround for a broken cmake. Drop it with a later version to see if it works.
5771 # https://github.com/NixOS/nixpkgs/issues/94905
5872 cmakeFlags = lib.optional stdenv.isLinux "-DCMAKE_OSX_ARCHITECTURES=";