forked from mirrors/nixpkgs
pkgsMusl.zfs: fix build
This commit is contained in:
parent
2ee1219c01
commit
0de23a66e7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue