mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
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
This commit is contained in:
parent
82c280c5b5
commit
6afc1907c8
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user