3
0
Fork 0
forked from mirrors/nixpkgs

pkgsMusl.zfs: fix build

This commit is contained in:
Alyssa Ross 2023-01-11 06:17:29 +00:00
parent 2ee1219c01
commit 0de23a66e7

View file

@ -1,4 +1,4 @@
{ pkgs, lib, stdenv, fetchFromGitHub
{ pkgs, lib, stdenv, fetchFromGitHub, fetchpatch
, autoreconfHook269, util-linux, nukeReferences, coreutils
, perl, nixosTests
, configFile ? "all"
@ -52,7 +52,13 @@ let
inherit rev sha256;
};
patches = extraPatches;
patches = [
(fetchpatch {
name = "musl.patch";
url = "https://github.com/openzfs/zfs/commit/1f19826c9ac85835cbde61a7439d9d1fefe43a4a.patch";
sha256 = "XEaK227ubfOwlB2s851UvZ6xp/QOtYUWYsKTkEHzmo0=";
})
] ++ extraPatches;
postPatch = optionalString buildKernel ''
patchShebangs scripts