Created
October 23, 2015 09:51
-
-
Save anonymous/eadd0962c6aff061d455 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = '' | |
''; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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