This repository has been archived on 2022-09-16. You can view files and clone it, but cannot push or open issues or pull requests.
tlaternet-templates/nix/override.nix

17 lines
368 B
Nix
Raw Normal View History

2021-04-07 21:41:11 +01:00
{ 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
vips
glib
pkgconfig
];
npmFlags = "--ignore-scripts";
};
}