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

antigen: init at 2.2.1 #27266

Merged
merged 2 commits into from Oct 10, 2017
Merged

antigen: init at 2.2.1 #27266

merged 2 commits into from Oct 10, 2017

Conversation

bugworm
Copy link
Contributor

@bugworm bugworm commented Jul 9, 2017

Motivation for this change

Want to add antigen. Also I've planned to add module for it, similar to oh-my-zsh

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • 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/)
  • Fits CONTRIBUTING.md.

@bugworm
Copy link
Contributor Author

bugworm commented Jul 9, 2017

I don't sure about that kind of dowloading script, because it will cause old versions be the same as last version, but it's recommended way to install it

name = "antigen";

src = fetchurl {
url = "git.io/antigen";
Copy link
Member

Choose a reason for hiding this comment

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

This source is not stable. Is there a different source, which does not break with every upstream update?

Copy link
Contributor Author

@bugworm bugworm Jul 9, 2017

Choose a reason for hiding this comment

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

There are releases, I can fetch file from there. Or clone a repo and build it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is fetching from https://github.com/zsh-users/antigen/releases/download/v${version}/antigen.zsh will be ok?

Copy link
Member

Choose a reason for hiding this comment

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

Either from the release page, or using fetchFromGitHub.

@Mic92 Mic92 merged commit d89b68e into NixOS:master Oct 10, 2017
@Mic92
Copy link
Member

Mic92 commented Oct 10, 2017

Thanks. I did not notice the update.

bkchr pushed a commit to bkchr/nixpkgs that referenced this pull request Oct 12, 2017
* Added antigen

* Repaced link to releases
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.

None yet

3 participants