Tristan Daniël Maat
94503f5f7d
This is necessary because a dependency of `favicons`, `sharp`, depends on a slightly newer version of libvips than what is available in nixos-20.09.
20 lines
522 B
Nix
20 lines
522 B
Nix
{ pkgs ? import <nixpkgs> { inherit system; }, system ? builtins.currentSystem
|
|
}:
|
|
|
|
let nodePackages = import ./default.nix { inherit pkgs system; };
|
|
in nodePackages // {
|
|
shell = nodePackages.shell.override {
|
|
buildInputs = with pkgs; [
|
|
pkgs.nodePackages.node-gyp-build
|
|
pkgconfig
|
|
|
|
# For sharp (dependency of the auto-favicon
|
|
# generator). This depends on the vips (which uses
|
|
# gobjects), and builds using node-gyp, which in turn
|
|
# needs python.
|
|
vips
|
|
glib
|
|
];
|
|
};
|
|
}
|