Skip to content

Commit

Permalink
Merge pull request NixOS#114975 from armijnhemel/squashfs-lzo
Browse files Browse the repository at this point in the history
squashfsTools: enable LZO compression
  • Loading branch information
edolstra authored Mar 3, 2021
2 parents f406983 + 8a61e45 commit 8316093
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/tools/filesystems/squashfs/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib, stdenv, fetchFromGitHub, zlib, xz
, lz4
, lzo
, zstd
}:

Expand All @@ -25,13 +26,13 @@ stdenv.mkDerivation {
./0001-Mksquashfs-add-no-hardlinks-option.patch
] ++ lib.optional stdenv.isDarwin ./darwin.patch;

buildInputs = [ zlib xz zstd lz4 ];
buildInputs = [ zlib xz zstd lz4 lzo ];

preBuild = "cd squashfs-tools";

installFlags = [ "INSTALL_DIR=\${out}/bin" ];

makeFlags = [ "XZ_SUPPORT=1" "ZSTD_SUPPORT=1" "LZ4_SUPPORT=1" ];
makeFlags = [ "XZ_SUPPORT=1" "ZSTD_SUPPORT=1" "LZ4_SUPPORT=1" "LZO_SUPPORT=1"];

meta = {
homepage = "http://squashfs.sourceforge.net/";
Expand Down

0 comments on commit 8316093

Please sign in to comment.