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