Skip to content

Instantly share code, notes, and snippets.

@garbas
Created April 2, 2014 01:38
Show Gist options
  • Save garbas/9926519 to your computer and use it in GitHub Desktop.
Save garbas/9926519 to your computer and use it in GitHub Desktop.
bootstrap-nix: clean bootstrap-common
sed -i '[email protected]."fsevents"."0.2.0"$$@@' package.nix
sed -i 's@url = "git://github.com/michaelficarra/cscodegen.git";$$@url = "git://github.com/michaelficarra/cscodegen.git";fetchSubmodules = false;@' package.nix
head -n -1 bower.nix > temp.nix; mv temp.nix bower.nix
cat bower_end.nix >> bower.nix
nix-build default.nix -A build -o nixenv
ln -s nixenv/lib/node_modules/mockup/node_modules
ln -s nixenv/bower_components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment