Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Error installing pypi2nix #478

Open
FedX-sudo opened this issue Dec 4, 2021 · 0 comments
Open

Error installing pypi2nix #478

FedX-sudo opened this issue Dec 4, 2021 · 0 comments

Comments

@FedX-sudo
Copy link

System:

  • System76 Galago Pro (galp5)
    • Intel Core i7-1165G7
    • Nvidia GTX 1650TI
    • 32GB of RAm
    • 1Tb NVME SSD
  • NixOS Unstable: 22.05
  • Kernel: 5.15.3-zen1

Issue:

When I go to install pypi2nix by adding the suggested configuration to home.nix like this:

{pkgs, config, lib, ...}:
let
  pypi2nix = import (pkgs.fetchgit {
    url = "https://github.com/nix-community/pypi2nix";
    # adjust rev and sha256 to desired version
    rev = "v2.0.1";
    sha256 = "sha256:0mxh3x8bck3axdfi9vh9mz1m3zvmzqkcgy6gxp8f9hhs6qg5146y";
  }) {};

in 
{
  home.packages = [ pypi2nix ]; 
}

Then after running home-manager switch I get the following error:

error: attribute 'lib' missing

at /nix/store/syg1rgl1l8baj5xh59xw3xqi0s9bh3fd-pypi2nix/requirements.nix:15:12:

14|   inherit (pkgs) makeWrapper;
15|   inherit (pkgs.stdenv.lib) fix' extends inNixShell;
|            ^
16|
(use '--show-trace' to show detailed location information)

Assuming this was my fault, I attempted to install with nix-env -if https://github.com/nix-community/pypi2nix/tarball/master and got the exact same error. I assume this is an issue with running NixOS unstable, and would love to help solve the issue if possible!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant