- Clone the
scuttlebot
source from GitHub. cd
into the source directory and runnode2nix
.- Create a new file in the source directory
override.nix
with the following contents:{pkgs ? import <nixpkgs> { inherit system; }, system ? builtins.currentSystem}: let nodePackages = import ./default.nix { inherit pkgs system; }; in nodePackages // { package = nodePackages.package.override { buildInputs = [ pkgs.automake pkgs.autoconf pkgs.nodePackages.node-gyp-build ]; }; }
- In the source dir run
nix-build override.nix -A package
Last active
July 17, 2018 12:04
-
-
Save patrl/4ad338ff2bad62459b3e238a24bcd505 to your computer and use it in GitHub Desktop.
Building scuttlebot on NixOS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment