about summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorArmijn Hemel <armijn@tjaldur.nl>2021-03-03 12:51:59 +0100
committerArmijn Hemel <armijn@tjaldur.nl>2021-03-03 12:51:59 +0100
commit8a61e45f52ab4f8ce94b0cd8b4333b13e549efe1 (patch)
tree58f9df37d9a3271d5c92dd1ad04476ad39f91a70 /pkgs/tools/filesystems
parent5da47b15cfb68f57865f28839c2325c8a43bca2c (diff)
squashfsTools: enable LZO compression
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/squashfs/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/filesystems/squashfs/default.nix b/pkgs/tools/filesystems/squashfs/default.nix
index 7e55bcf6e0e43..3c38341554a57 100644
--- a/pkgs/tools/filesystems/squashfs/default.nix
+++ b/pkgs/tools/filesystems/squashfs/default.nix
@@ -1,5 +1,6 @@
 { lib, stdenv, fetchFromGitHub, zlib, xz
 , lz4
+, lzo
 , zstd
 }:
 
@@ -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/";