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

irony-server: init at 'same-version-as-irony-of-chosen-elpa` #21815

Merged
merged 1 commit into from Jan 21, 2017

Conversation

deepfire
Copy link
Contributor

Motivation for this change

Add the irony-server package, piggybacking on the autogenerated irony package from emacsPackagesNg.

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

@deepfire deepfire force-pushed the irony-server branch 2 times, most recently from 56a045e to 2912f08 Compare January 12, 2017 13:27
@deepfire deepfire changed the title irony-server: init at 'same-version-irony-of-chosen-elpa` irony-server: init at 'same-version-as-irony-of-chosen-elpa` Jan 12, 2017
meta = {
description = "The server part of irony.";
homepage = "https://melpa.org/#/irony";
license = lib.licenses.free;
Copy link
Member

Choose a reason for hiding this comment

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

missing maintainers and platforms

@@ -5094,6 +5094,8 @@ in

intercal = callPackage ../development/compilers/intercal { };

irony-server = callPackage ../development/tools/irony-server/default.nix { };
Copy link
Member

Choose a reason for hiding this comment

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

I think it's better to pass in irony as an argument here instead of resolving it in the expression, eg.

irony-server = callPackage ../development/tools/irony-server/default.nix {
  inherit (emacsPackagesNg.melpaStablePackages) irony;
};

in
stdenv.mkDerivation rec {
name = "irony-server-${version}";
version = irony.version;
Copy link
Member

Choose a reason for hiding this comment

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

You could write this as inherit (irony) version;

@deepfire
Copy link
Contributor Author

@LnL7, adjusted to accord with your suggestions.

@deepfire
Copy link
Contributor Author

@LnL7, thank you for your review!

@LnL7 LnL7 merged commit 78c68f2 into NixOS:master Jan 21, 2017
@deepfire deepfire deleted the irony-server branch January 21, 2017 00:59
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

3 participants