diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-02-23 19:43:02 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-02-23 19:45:05 +0100 |
commit | 6afc1907c85fe3a244bd8a52d76f45297f06419e (patch) | |
tree | 87e6f9ffec77f05ddf6824d719ee31e5e74e2579 /pkgs/development/python-modules/graph-tool | |
parent | 82c280c5b5c48a1aacba7bc2eecba31255c8f9ab (diff) | |
download | nixlib-6afc1907c85fe3a244bd8a52d76f45297f06419e.tar nixlib-6afc1907c85fe3a244bd8a52d76f45297f06419e.tar.gz nixlib-6afc1907c85fe3a244bd8a52d76f45297f06419e.tar.bz2 nixlib-6afc1907c85fe3a244bd8a52d76f45297f06419e.tar.lz nixlib-6afc1907c85fe3a244bd8a52d76f45297f06419e.tar.xz nixlib-6afc1907c85fe3a244bd8a52d76f45297f06419e.tar.zst nixlib-6afc1907c85fe3a244bd8a52d76f45297f06419e.zip |
Fix eval
Fixes this: $ nix-env -f . -qa \* --meta --xml --drv-path --show-trace >/dev/null ... error: while querying the derivation named ‘pypy2.5-graph-tool-2.2.36’: while evaluating the attribute ‘preConfigure’ of the derivation ‘pypy2.5-graph-tool-2.2.36’ at "/home/bfo/nixpkgs/pkgs/development/python-modules/graph-tool/2.x.x.nix":5:3: attribute ‘sitePackages’ missing, at "/home/bfo/nixpkgs/pkgs/development/python-modules/graph-tool/2.x.x.nix":22:54
Diffstat (limited to 'pkgs/development/python-modules/graph-tool')
-rw-r--r-- | pkgs/development/python-modules/graph-tool/2.x.x.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/graph-tool/2.x.x.nix b/pkgs/development/python-modules/graph-tool/2.x.x.nix index 835b4f6514a8..7a5bf440b5e7 100644 --- a/pkgs/development/python-modules/graph-tool/2.x.x.nix +++ b/pkgs/development/python-modules/graph-tool/2.x.x.nix @@ -1,5 +1,8 @@ { stdenv, fetchurl, python, cairomm, sparsehash, pycairo, automake, m4, pkgconfig, boost, expat, scipy, numpy, cgal, gmp, mpfr, lndir, makeWrapper }: +# pypy lacks the sitePackages attribute used in this expression +assert python.executable != "pypy"; + stdenv.mkDerivation rec { version = "2.2.36"; name = "${python.libPrefix}-graph-tool-${version}"; |