You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a similar spirit as #26487 I am trying to test my python packages from an overlay (In this peculiar case it's more practical for me to do it from an overlay than to fork nixpkgs). So in my otherwise (working) overlay, I've added
pythonPackages = super.pythonPackages.override {
# Careful, we're using a different self and super here!
packageOverrides = self: super: {
pygccxml = super.callPackage ../pygccxml.nix {
# pkgs = super.pkgs;
# pythonPackages = self.pkgs.python3Packages;
};
};
};
Then when I run a nix-shell, I get:
nix-shell -p 'python.withPackages(ps: [ ps.pygccxml] )' --show-trace
error: while evaluating the attribute ‘buildInputs’ of the derivation ‘shell’ at /home/teto/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:98:11:
while evaluating the attribute ‘pkgs’ of the derivation ‘python-2.7.14-env’ at /home/teto/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:98:11:
while evaluating ‘closePropagation’ at /home/teto/nixpkgs/lib/deprecated.nix:228:22, called from /home/teto/nixpkgs/pkgs/development/interpreters/python/wrapper.nix:11:13:
while evaluating ‘uniqList’ at /home/teto/nixpkgs/lib/deprecated.nix:159:14, called from /home/teto/nixpkgs/lib/deprecated.nix:228:29:
while evaluating ‘go’ at /home/teto/nixpkgs/lib/deprecated.nix:160:18, called from /home/teto/nixpkgs/lib/deprecated.nix:166:8:
while evaluating ‘innerClosePropagation’ at /home/teto/nixpkgs/lib/deprecated.nix:211:32, called from /home/teto/nixpkgs/lib/deprecated.nix:228:52:
attribute ‘pygccxml’ missing, at (string):1:92
Issue description
In a similar spirit as #26487 I am trying to test my python packages from an overlay (In this peculiar case it's more practical for me to do it from an overlay than to fork nixpkgs). So in my otherwise (working) overlay, I've added
Then when I run a nix-shell, I get:
content of pygccxml.nix:
Technical details
nixos-version=18.03.git.56a5c5f (Impala)
nix version: nix-env (Nix) 1.11.15
Nixpkgs version: "18.03.git.56a5c5fa42"
sandboxing disabled
The text was updated successfully, but these errors were encountered: