lol

Merge pull request #142734 from trofi/fix-python_magic

authored by

Doron Behar and committed by
GitHub
cc5c8513 e3eaad4c

+8
+8
pkgs/development/python-modules/python-magic/default.nix
··· 3 3 , python 4 4 , buildPythonPackage 5 5 , fetchFromGitHub 6 + , fetchpatch 6 7 , substituteAll 7 8 , file 8 9 , glibcLocales ··· 20 21 }; 21 22 22 23 patches = [ 24 + # pull upstream patch to support file-5.41 25 + (fetchpatch { 26 + name = "file-5.41-compat.patch"; 27 + url = "https://github.com/ahupp/python-magic/commit/0ae7e7ceac0e80e03adc75c858bb378c0427331a.patch"; 28 + sha256 = "0vclaamb56nza1mcy88wjbkh81hnish2gzvl8visa2cknhgdmk50"; 29 + }) 30 + 23 31 (substituteAll { 24 32 src = ./libmagic-path.patch; 25 33 libmagic = "${file}/lib/libmagic${stdenv.hostPlatform.extensions.sharedLibrary}";