-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
mprime-primenet: init at 30.19 #242600
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
base: master
Are you sure you want to change the base?
mprime-primenet: init at 30.19 #242600
Conversation
952690a
to
b3455b6
Compare
Rebased and updated to use |
b3455b6
to
e65a16c
Compare
Updated package to latest version |
e65a16c
to
0e4c59a
Compare
0e4c59a
to
fd48b3b
Compare
description = "Mersenne prime search / System stability tester"; | ||
longDescription = '' | ||
MPrime is the Linux command-line interface version of Prime95, to be run | ||
in a text terminal or in a terminal emulator window as a remote shell | ||
client. It is identical to Prime95 in functionality, except it lacks a | ||
graphical user interface. | ||
''; |
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.
At the moment these are identical to mprime
. Both description
and longDescription
should indicate the purpose of this package variant
# src handled in non-standard way to allow for the hashes for fetchurl of the | ||
# tarballs to match the checksums published on mersenne.org | ||
src = tarball; | ||
unpackPhase = '' | ||
cp $src $(echo $src | cut --delimiter=- --fields=2-) | ||
''; |
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.
Why not tar xf $src
in unpackPhase? And set dontBuild = true
instead of overriding buildPhase?
Description of changes
This package adds official release builds for
mprime
.mprime
is already packaged on nixpkgs but the existing package builds from source which prevents the binary from running workers connected to primenet, which is the easiest way to participate in GIMPS (Great Internet Mersenne Prime Search). I've tested running this with workers connected to primenet on both x86-linux and x86-macos with no issues so far.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)