New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weechatScripts.colorize_nicks: init at 27 #105633
Conversation
@@ -0,0 +1,30 @@ | |||
{ stdenv, lib, fetchurl }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lib can be replaced with stdenv.lib.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't feel like indirections like this are the way to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ stdenv, lib, fetchurl }: | |
{ pkgs }: |
Then we can use pkgs.stdenv
, pkgs.lib
, pkgs.fetchurl
?
</kidding>
More to the point. Do we have any guidelines as to what to prefer here? I think I prefer the solution present in the PR.
pkgs/applications/networking/irc/weechat/scripts/colorize_nicks/default.nix
Show resolved
Hide resolved
pkgs/applications/networking/irc/weechat/scripts/colorize_nicks/default.nix
Outdated
Show resolved
Hide resolved
pkgs/applications/networking/irc/weechat/scripts/colorize_nicks/default.nix
Outdated
Show resolved
Hide resolved
Result of 1 package marked as broken and skipped:
|
363e369
to
932d2f1
Compare
I couldn’t reproduce the evaluation error. |
meta = with lib; { | ||
inherit (weechat.meta) platforms; | ||
description = "Use the weechat nick colors in the chat area"; | ||
licenses = licenses.gpl2Plus; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
licenses = licenses.gpl2Plus; | |
license = licenses.gpl2Plus; |
932d2f1
to
87ee41b
Compare
Result of 1 package built:
|
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)