Skip to content

Instantly share code, notes, and snippets.

@samrose
Created May 8, 2019 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samrose/e5a6d138ae717680a4096e705b4540ba to your computer and use it in GitHub Desktop.
Save samrose/e5a6d138ae717680a4096e705b4540ba to your computer and use it in GitHub Desktop.
{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem}:
let
nodePackages = import ./default.nix {
inherit pkgs system;
};
in
nodePackages // {
sodium-native = nodePackages.sodium-native.override {
buildInputs = [ nodePackages.node-gyp-build ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment