-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
nixedit: init at 1.0.0 #349119
nixedit: init at 1.0.0 #349119
Conversation
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.
The file name must be package.nix, not default.nix.
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.
The commit log message must match the PR title too.
pkgs/by-name/ni/nixedit/package.nix
Outdated
|
||
meta = with lib; { | ||
homepage = "https://github.com/fndov/nixedit"; | ||
description = "A NixOS Multipurpose CLI/TUI Utility"; |
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.
description = "A NixOS Multipurpose CLI/TUI Utility"; | |
description = "NixOS Multipurpose CLI/TUI Utility"; |
https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#meta-attributes
pkgs/by-name/ni/nixedit/package.nix
Outdated
$out/bin/nixedit --help > /dev/null | ||
''; | ||
|
||
meta = with 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.
meta = with lib; { | |
meta = { |
pkgs/by-name/ni/nixedit/package.nix
Outdated
meta = with lib; { | ||
homepage = "https://github.com/fndov/nixedit"; | ||
description = "A NixOS Multipurpose CLI/TUI Utility"; | ||
license = licenses.gpl3; |
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.
Which one exactly?
pkgs/by-name/ni/nixedit/package.nix
Outdated
if ! uname -a | grep "NixOS" > /dev/null; then | ||
echo "This package can only be installed on NixOS." | ||
exit 1 | ||
fi |
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.
if ! uname -a | grep "NixOS" > /dev/null; then | |
echo "This package can only be installed on NixOS." | |
exit 1 | |
fi |
It should be buildable anywhere though.
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.
my package interacts with NixOS and is not designed to run on any other distro or mac.
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.
But it can be built on a non-NixOS machine and then run on a NixOS one. Otherwise the build wouldn't be reproducible.
I have made a mistake, I will discard this PR and restart. I appreciate your patience. |
A NixOS Multipurpose CLI/TUI Utility. https://github.com/fndov/nixedit
Created new PR containing only one commit by request, closed: #348231
Merge ready.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.