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
q: init at 1.7.1 #64785
q: init at 1.7.1 #64785
Conversation
I tested a few examples on NixOS, and they worked:
|
pkgs/tools/misc/q/default.nix
Outdated
{ stdenvNoCC, fetchFromGitHub, python2 }: | ||
|
||
stdenvNoCC.mkDerivation rec { | ||
pname = "q"; |
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.
No single letter names. q-text-as-data
instead.
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.
Where is this policy stated? There seemt o be other packages (eg. j
) with single letter names.
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.
ping @FRidh
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.
j
was added very long ago, when Nixpkgs was also still tiny by comparison.
This policy has not been documented and falls in my opinion under common sense.
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.
Huh, okay.
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.
There is also t
, added in more recently in 2015.
I can change the name but I do feel like it would make it harder to find the package: when I first checked if q had already been package I did not check q-text-as-data
or similar.
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.
Considering it is a single letter it is in general hard to find. At least with q-text-as-data
it's in line with other distro's.
pkgs/top-level/all-packages.nix
Outdated
@@ -5512,6 +5512,8 @@ in | |||
|
|||
ocz-ssd-guru = callPackage ../tools/misc/ocz-ssd-guru { }; | |||
|
|||
q = callPackage ../tools/misc/q { }; |
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.
No single letter attributes. q-text-as-data
instead.
@Taneb are you able to continue with this? This looks like a pretty fun piece of software I want to make an excuse to try... so shall we get this merged in time for |
Oh yes! Honestly this had completely slipped my mind. I'll go ahead and change the name... |
Great! I look forward to you pushing the commit. After that I see no reason not to merge, just in time for |
@FRidh can you re-review, please? |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)