Skip to content
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

Closed
wants to merge 0 commits into from
Closed

nixedit: init at 1.0.0 #349119

wants to merge 0 commits into from

Conversation

fndov
Copy link

@fndov fndov commented Oct 16, 2024

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

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@fndov fndov mentioned this pull request Oct 16, 2024
13 tasks
Copy link
Contributor

@drupol drupol left a 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.

Copy link
Contributor

@drupol drupol left a 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.


meta = with lib; {
homepage = "https://github.com/fndov/nixedit";
description = "A NixOS Multipurpose CLI/TUI Utility";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

$out/bin/nixedit --help > /dev/null
'';

meta = with lib; {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
meta = with lib; {
meta = {

#208242

meta = with lib; {
homepage = "https://github.com/fndov/nixedit";
description = "A NixOS Multipurpose CLI/TUI Utility";
license = licenses.gpl3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which one exactly?

Comment on lines 58 to 61
if ! uname -a | grep "NixOS" > /dev/null; then
echo "This package can only be installed on NixOS."
exit 1
fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Copy link
Author

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.

Copy link
Member

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.

@fndov
Copy link
Author

fndov commented Oct 16, 2024

I have made a mistake, I will discard this PR and restart. I appreciate your patience.

@dotlambda dotlambda mentioned this pull request Oct 17, 2024
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants