Skip to content

Instantly share code, notes, and snippets.

@adisbladis
Last active February 27, 2018 09:36
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 adisbladis/15d9f6f76e7db290c51aa76d804103b5 to your computer and use it in GitHub Desktop.
Save adisbladis/15d9f6f76e7db290c51aa76d804103b5 to your computer and use it in GitHub Desktop.
{
"name": "example-nix-project",
"version": "0.1.0",
"dependencies": {
"imagemagick-native": "^1.9.3"
},
"devDependencies": {}
}
with (import <nixpkgs> {});
mkShell rec {
buildInputs = [
nodejs
nodejs.passthru.python
imagemagick
];
shellHook = ''
export PATH="$PATH:"$(pwd)/node_modules/.bin
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment