-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
caprice32 : init at unstable-2018-02-10 #35008
Conversation
src = fetchFromGitHub { | ||
owner = "ColinPitrat"; | ||
repo = "caprice32"; | ||
rev = "${rev}"; |
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.
Nit: you can do inherit rev
here, or at least do rev = rev
...
@GrahamcOfBorg build caprice32 |
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
postPatch = "substituteInPlace cap32.cfg --replace /usr/local $out"; | ||
|
||
meta = with stdenv.lib; { | ||
description = "a complete emulation of CPC464, CPC664 and CPC6128"; |
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.
Please capitalize the description
|
||
nativeBuildInputs = [ pkgconfig ]; | ||
buildInputs = [ libpng SDL freetype zlib ]; | ||
makeFlags = [ "GIT_HASH=$(src.rev)" "DESTDIR=$(out)" "prefix=/"]; |
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 wonder if GIT_HASH=$(src.rev)
will really work as expected ... I suggest using GIT_HASH=${src.rev}
instead.
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)