[英]nix-shell for perlPackages
i want to play with a perl package called Mail::SPF
and there is a Build.PL issue. 我想玩一个名为
Mail::SPF
的perl程序包,并且有Build.PL问题。 now i would like to modify the source before running the buildPhase
. 现在我想在运行
buildPhase
之前修改源代码。
for c/c++ based projects this is working well but for perl it fails: 对于基于c / c ++的项目,它运行良好,但对于perl,它失败了:
nix-shell -I nixpkgs=nixpkgs_spamassassin/ -A perlPackages.YAML
error: attribute ‘perlPackages’ in selection path ‘perlPackages.YAML’ not found
so what am i doing wrong? 那我在做什么错?
nix-env -I nixpkgs=nixpkgs_spamassassin/ -f nixpkgs_spamassassin/ -qaP | grep MailSPF
perlPackages.MailSPF perl-Mail-SPF-v2.9.0
@danbst @danbst
nix-shell '<nixpkgs>' -A perlPackages.YAML
is what i was searching for! 这就是我要寻找的! thanks
谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.