Q2TG/default.nix

33 lines
705 B
Nix
Raw Normal View History

2022-09-11 13:14:47 +00:00
# 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;
});
})
2023-01-13 09:57:00 +00:00
pixman
cairo
pango
giflib
libjpeg
libpng
librsvg
2022-09-11 13:14:47 +00:00
]);
nativeBuildInputs = attrs.buildInputs ++ (with pkgs; [
python3
pkg-config
2023-01-13 09:57:00 +00:00
(callPackage ./nixos/prismaPatched.nix { })
2022-09-11 13:14:47 +00:00
]);
})