Skip to content
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

Merged
merged 1 commit into from
Feb 28, 2016
Merged

duckmarines: init at 1.0b #13504

merged 1 commit into from
Feb 28, 2016

Conversation

leenaars
Copy link
Contributor

A game created with LÖVE.

@hrdinka hrdinka added the 8.has: package (new) This PR adds a new package label Feb 27, 2016
sha256 = "0fpzbsgrhbwm1lff9gyzh6c9jigw328ngddvrj5w7qmjcm2lv6lv";
};

nativeBuildInputs = [ lua love ];
Copy link
Contributor

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.

leenaars added a commit to leenaars/nixpkgs that referenced this pull request Feb 27, 2016
@leenaars leenaars force-pushed the duckmarines branch 2 times, most recently from c2dc1f7 to 2bcc04a Compare February 27, 2016 21:09
vcunat pushed a commit that referenced this pull request Feb 27, 2016
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ lua love ];

phases = "unpackPhase installPhase";
Copy link
Contributor

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.

hrdinka added a commit that referenced this pull request Feb 28, 2016
@hrdinka hrdinka merged commit ae2ad0d into NixOS:master Feb 28, 2016
@hrdinka
Copy link
Contributor

hrdinka commented Feb 28, 2016

Built & tested locally. Thanks! 👍

@leenaars leenaars deleted the duckmarines branch May 12, 2016 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (new) This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants