-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
duckmarines: init at 1.0b #13504
duckmarines: init at 1.0b #13504
Conversation
sha256 = "0fpzbsgrhbwm1lff9gyzh6c9jigw328ngddvrj5w7qmjcm2lv6lv"; | ||
}; | ||
|
||
nativeBuildInputs = [ lua love ]; |
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.
Both lua
and love
are actually needed to run the game and not to build it therefore both are normal buildInputs
and belong there. makeWrapper
on the other side can be placed in nativeBuildInputs
. unzip
is native as well but see below.
As suggested in NixOS#13504 by @hrdinka.
c2dc1f7
to
2bcc04a
Compare
nativeBuildInputs = [ makeWrapper ]; | ||
buildInputs = [ lua love ]; | ||
|
||
phases = "unpackPhase installPhase"; |
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.
phases
expects a single string if there is only a single phase. If there are more than one you have to define a list of strings. Therefore phases = [ "unpackPhase" "installPhase" ]
would be correct.
2bcc04a
to
ad23ac7
Compare
Built & tested locally. Thanks! 👍 |
A game created with LÖVE.