Q2TG/default.nix

33 lines
705 B
Nix

# This is a minimal `default.nix` by yarn-plugin-nixify. You can customize it
# as needed, it will not be overwritten by the plugin.
{ pkgs ? import <nixpkgs> { } }:
(pkgs.callPackage ./yarn-project.nix { } { src = ./.; }).overrideAttrs (attrs: {
buildPhase = with pkgs; ''
prisma generate
yarn build
'';
buildInputs = attrs.buildInputs ++ (with pkgs; [
(vips.override {
libjxl = libjxl.overrideAttrs (attrs: {
doCheck = false;
});
})
pixman
cairo
pango
giflib
libjpeg
libpng
librsvg
]);
nativeBuildInputs = attrs.buildInputs ++ (with pkgs; [
python3
pkg-config
(callPackage ./nixos/prismaPatched.nix { })
]);
})