attr: fix issues with 2.4.48

Add upstream patch to fix issues with fakechroot.
This commit is contained in:
Tor Hedin Brønner 2019-01-13 21:55:50 +01:00
parent f094f1d07a
commit fa565b6510

View File

@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ gettext ]; nativeBuildInputs = [ gettext ];
patches = [
# fix fakechroot: https://github.com/dex4er/fakechroot/issues/57
(fetchurl {
url = "https://git.savannah.nongnu.org/cgit/attr.git/patch/?id=14adc898a36948267bfe5c63b399996879e94c98";
sha256 = "0gja54fz79a9ma6b4mprnjxq77l5yg2z9xknlwhmkcrfnam02qxp";
})
];
postPatch = '' postPatch = ''
for script in install-sh include/install-sh; do for script in install-sh include/install-sh; do
patchShebangs $script patchShebangs $script