diff options
author | Artturin <Artturin@artturin.com> | 2022-04-26 20:42:33 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-04-26 20:42:33 +0300 |
commit | 4f653a68d8b676931fabeab4b8eec2dcb9c1e5af (patch) | |
tree | d09e89c7a1103ede46b88b429e4354e345527eb9 | |
parent | 7ed2f7d1ba20604621271c229ff499c05621e7b8 (diff) | |
download | nixpkgs-4f653a68d8b676931fabeab4b8eec2dcb9c1e5af.tar nixpkgs-4f653a68d8b676931fabeab4b8eec2dcb9c1e5af.tar.gz nixpkgs-4f653a68d8b676931fabeab4b8eec2dcb9c1e5af.tar.bz2 nixpkgs-4f653a68d8b676931fabeab4b8eec2dcb9c1e5af.tar.lz nixpkgs-4f653a68d8b676931fabeab4b8eec2dcb9c1e5af.tar.xz nixpkgs-4f653a68d8b676931fabeab4b8eec2dcb9c1e5af.tar.zst nixpkgs-4f653a68d8b676931fabeab4b8eec2dcb9c1e5af.zip |
squafsTools: fix cross
-rw-r--r-- | pkgs/tools/filesystems/squashfs/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/squashfs/default.nix b/pkgs/tools/filesystems/squashfs/default.nix index 0b2d6ae9cd6..3be3865ccd0 100644 --- a/pkgs/tools/filesystems/squashfs/default.nix +++ b/pkgs/tools/filesystems/squashfs/default.nix @@ -35,7 +35,9 @@ stdenv.mkDerivation rec { ] ++ lib.optional stdenv.isDarwin ./darwin.patch; strictDeps = true; - nativeBuildInputs = [ help2man which ]; + nativeBuildInputs = [ which ] + # when cross-compiling help2man cannot run the cross-compiled binary + ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ help2man ]; buildInputs = [ zlib xz zstd lz4 lzo ]; preBuild = '' |