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
zeronet: init at 0.6.2 #40883
zeronet: init at 0.6.2 #40883
Conversation
|
||
format = "other"; | ||
|
||
buildPhase = "python -O -m compileall ."; |
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.
${python.interpreter}
instead of python
|
||
# Wrap the main executable and set the log and data dir to something out of | ||
# the store | ||
fixupPhase = '' |
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.
Its intentional to replace any existing fixupPhase
?
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.
But there shouldn't be any, as I am using format="other"
. Or should I move it to postFixup anyway?
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.
Oh well, moving it won't do any harm
@@ -0,0 +1,42 @@ | |||
{ stdenv, fetchFromGitHub, buildPythonApplication |
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.
applications should pass in python
or pythonPackages
, not the individual attributes.
@FRidh All done |
Nice, maybe we'll get ZeroNet here soon. |
@Chiiruno oh... there was another pr?! I always forget to do a search before writing code and duplicating things >.< |
Only now I see the horror that is that |
AFAIK you shouldn't have to mess with the |
From #31910 You may want to check if your package has a problem with any of that. |
@@ -0,0 +1,41 @@ | |||
{ stdenv, fetchFromGitHub, python2Packages, python2 }: |
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.
python2Packages
or python2
. The interpreter is part of the package set, python2Packages.python
, and the packages part of the interpreter, python2.pkgs
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.
Fixed
@Chiiruno The path should be ok, and I think the deps will remain vendored for now |
@GrahamcOfBorg build zeronet |
Success on x86_64-darwin (full log) Attempted: zeronet Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: zeronet Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: zeronet Partial log (click to expand)
|
Motivation for this change
https://zeronet.io
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)Is the path correct or should I put it under pkgs/servers?
This probably needs a nixos module too but I won't add it in this pr.