mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
meson: fix building with python 3.7
This commit is contained in:
parent
64e19fdeda
commit
64d50a0099
@ -1,4 +1,4 @@
|
||||
{ lib, python3Packages, stdenv, writeTextDir, substituteAll }:
|
||||
{ lib, python3Packages, stdenv, writeTextDir, substituteAll, fetchpatch }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
version = "0.46.1";
|
||||
@ -41,6 +41,12 @@ python3Packages.buildPythonApplication rec {
|
||||
src = ./fix-rpath.patch;
|
||||
inherit (builtins) storeDir;
|
||||
})
|
||||
|
||||
# Support Python 3.7. This is part of 0.47 and 0.48.1.
|
||||
(fetchpatch {
|
||||
url = https://github.com/mesonbuild/meson/commit/a87496addd9160300837aa50193f4798c6f1d251.patch;
|
||||
sha256 = "1jfn9dgib5bc8frcd65cxn3fzhp19bpbjadxjkqzbjk1v4hdbl88";
|
||||
})
|
||||
];
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
Loading…
Reference in New Issue
Block a user