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
convox: init at 20171002150509 #30377
Conversation
description = "Open-source PaaS"; | ||
license = lib.licenses.asl20; | ||
platforms = lib.platforms.linux ++ lib.platforms.darwin; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A maintainer must be set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What’s the right way to set that? Should I add myself as a maintainer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, just add yourself to lib/maintainers.nix, and then add a maintainers = with lib.maintainers; [ shosti ];
entry to meta
.
goPackagePath = "github.com/convox/rack"; | ||
subPackages = [ "cmd/convox" ]; | ||
|
||
src = fetchurl { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use fetchFromGitHub
instead, so import fetchFromGitHub
instead of fetchurl
at the top, and:
{
src = fetchFromGitHub {
owner = "convox";
repo = "rack";
rev = version;
sha256 = "05hxrb36b9fxgid3n43z43k4zw11akn80kggcxkxx4ba3z6pff8q";
};
}
@@ -0,0 +1,21 @@ | |||
{ lib, fetchurl, buildGoPackage }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's more common or idiomatic to put stdenv
instead of lib
directly. Your meta
then becomes:
{
meta = with stdenv.lib; {
description = "Open-source PaaS";
homepage = https://convox.com;
license = licenses.asl20;
maintainers = with maintainers; [ shosti ];
platforms = with platforms; linux ++ darwin;
};
}
@vyp updated. |
The build seems to be failing on OSX with |
@shosti if you're unable to test on osx, you can simply remove it from the list of supported platforms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding yourself to the maintainers needs to be fixed because that file got radically changed.
There is a new version by now 20180907231934
Motivation for this change
This adds the CLI tool for convox, which is a PaaS built on top of AWS.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)