This commit is contained in:
Surma
2024-08-07 01:08:01 +01:00
parent ec2a05ec33
commit 95a16e3919

View File

@@ -24,7 +24,10 @@
default = stdenv.mkDerivation {
name = "mozjpeg-squoosh";
src = ./.;
nativeBuildInputs = [ emscripten packages.${system}.mozjpeg ];
nativeBuildInputs = [
emscripten
packages.${system}.mozjpeg
];
MOZJPEG = packages.${system}.mozjpeg;
dontConfigure = true;
buildPhase = ''
@@ -70,7 +73,6 @@
cp rdswitch.o $out/lib
'';
dontFixup = true;
};
};
devShells.${system}.default = pkgs.mkShell {