Created
November 13, 2020 22:55
-
-
Save redvers/98df62d77631c2933a5fa18d1fa8a44d to your computer and use it in GitHub Desktop.
Asked to change propagatedBuildInputs to use withPackages - what am I doing wrong?
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 is: | |
error: while evaluating the attribute 'propagatedBuildInputs' of the derivation 'eyewitness-v20201021.1' at /home/red/projects/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:11: | |
cannot coerce a function to a string, at /home/red/projects/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:11 | |
propagatedBuildInputs = [ | |
firefox | |
geckodriver | |
xorg.xorgserver | |
python3.withPackages (p: [p.pip p.netaddr p.selenium p.fuzzywuzzy p.virtual-display]) | |
# python37 | |
# python37Packages.pip | |
# python37Packages.netaddr | |
# python37Packages.selenium | |
# python37Packages.fuzzywuzzy | |
# python37Packages.virtual-display | |
]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment