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

helix-cli: init at 2018.1.1705517 #48091

Closed
wants to merge 5 commits into from
Closed

Conversation

nathyong
Copy link
Contributor

@nathyong nathyong commented Oct 9, 2018

Motivation for this change

While the Perforce Visual Client (p4v) has already been packaged under that name, this change packages the accompanying command-line tools (p4).

The package name matches the convention that Perforce use for their own deb and rpm distributions (https://www.perforce.com/perforce/doc.current/manuals/p4sag/Content/P4SAG/install.linux.packages.install.html).

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

The Perforce client already exists under pkgs/applications/version-management/p4v/.
This change packages the accompanying CLI utilities for Perforce, under
the new name "Helix".
@Enzime
Copy link
Member

Enzime commented Oct 9, 2018

@GrahamcOfBorg build helix-cli

@GrahamcOfBorg
Copy link

No attempt on x86_64-linux (full log)

The following builds were skipped because they don't evaluate on x86_64-linux: helix-cli

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: helix-cli

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.


nlewo
nlewo previously requested changes Oct 13, 2018
pkgs/applications/version-management/helix-cli/default.nix Outdated Show resolved Hide resolved
Copy link
Member

@ryantm ryantm left a comment

Choose a reason for hiding this comment

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

Please address comments from worldofpeace

nathyong and others added 2 commits July 1, 2019 11:34
Thanks to worldofpeace for the suggestions.

Co-Authored-By: worldofpeace <worldofpeace@protonmail.ch>
Thanks to worldofpeace for the suggestions.
@nathyong
Copy link
Contributor Author

nathyong commented Jul 1, 2019

Changes requested by worldofpeace should now be addressed.

};

dontBuild = true;
phases = [ "installPhase" ];
Copy link
Contributor

Choose a reason for hiding this comment

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

We want to deprecate explicitly setting phases.

Suggested change
phases = [ "installPhase" ];

This might cause an issue building so feel free to paste it.

@stale
Copy link

stale bot commented Jun 2, 2020

Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the
    related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on
    irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 2, 2020
@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Oct 3, 2020
Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

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

Closing this because it is super old and no recent activity.

{ stdenv, fetchurl, patchelf }:

stdenv.mkDerivation rec {
name = "helix-cli-${version}";
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
name = "helix-cli-${version}";
pname = "helix-cli";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants