mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
squashfsTools: fix build on darwin (#502919)
This commit is contained in:
commit
fb9439279f
1 changed files with 9 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
help2man,
|
||||
lz4,
|
||||
lzo,
|
||||
|
|
@ -23,6 +24,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-rQ69sXvi6wY8yRyuQzcJZ6MvVGBbIw7vG+kYVHvfQQ8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix for Darwin: struct stat uses st_atimespec instead of st_atim.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/plougher/squashfs-tools/commit/f88f4a659d6ab432a57e90fe2f6191149c6b343f.patch";
|
||||
hash = "sha256-XRDV6qtd5jVwt2jbIlLDYKiI1tbVcuij5/vaPj9SN5w=";
|
||||
})
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
which
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue