Skip to content

Instantly share code, notes, and snippets.

@LnL7
Last active August 29, 2015 14:23
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 LnL7/b598a26dc4d33595e5f5 to your computer and use it in GitHub Desktop.
Save LnL7/b598a26dc4d33595e5f5 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {}
}:
let
self = pkgs.nodePackages //
pkgs.callPackage ./node-packages-generated.nix { inherit self; };
in
self
[ "browser-sync"
]
npm2nix --nodev node-packages.json node-packages-generated.nix
nix-env -f . -iA browser-sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment