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

with: init at 0.0.1 #17874

Merged
merged 1 commit into from
Aug 21, 2016
Merged

with: init at 0.0.1 #17874

merged 1 commit into from
Aug 21, 2016

Conversation

acowley
Copy link
Contributor

@acowley acowley commented Aug 20, 2016

Motivation for this change

Adds the "with" shell helper application.

Things done
  • Tested using sandboxing
    (nix.useChroot on NixOS,
    or option build-use-chroot in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • OS X
    • 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.

@@ -0,0 +1,21 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "with";
Copy link
Member

Choose a reason for hiding this comment

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

Add version to name.

name = "with-0.0.1";

version field is usually used as a variable to reuse later and is not used by mkDerivation itself, so you may remove it.

Copy link
Member

@rasendubi rasendubi Aug 20, 2016

Choose a reason for hiding this comment

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

If a package is install from git and does not have a version, you better use the date of the commit as version:

name = "with-2016-08-20";

@acowley
Copy link
Contributor Author

acowley commented Aug 20, 2016

Thank you for the comments @rasendubi !

@rasendubi
Copy link
Member

Commit/PR can now be renamed to with: init at 2016-08-20

Adds the "with" shell helper application.
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