Skip to content

Instantly share code, notes, and snippets.

Created October 23, 2015 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/eadd0962c6aff061d455 to your computer and use it in GitHub Desktop.
Save anonymous/eadd0962c6aff061d455 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "torch";
installDepsFile = fetchurl {
url = "https://raw.githubusercontent.com/torch/ezinstall/master/install-deps";
sha256 = "f61f6dc8a96f88d43fb67855917a1e5e7991517615a014cc11173fbe4a8a7efb";
};
buildInputs = [ build-essential gcc g++ curl cmake libreadline-dev git-core libqt4-core libqt4-gui libqt4-dev libjpeg-dev libpng-dev ncurses-dev imagemagick libzmq3-dev gfortran unzip gnuplot ];
phases = "installPhase fixupPhase";
installPhase = ''
'';
}
error: syntax error, unexpected CONCAT, at /home/x/torch-pkg/default.nix:11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment