forked from external-repos/squoosh
nixfmt
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user