Skip to content

sc2-headless: init at 3.17#30481

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:sc2-headless
Oct 16, 2017
Merged

sc2-headless: init at 3.17#30481
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:sc2-headless

Conversation

@ghost
Copy link

@ghost ghost commented Oct 16, 2017

This packages up the Starcraft II headless Linux client provided by
Blizzard for machine learning research.

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like name = "sc2-headless-${version}"; better.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can make that a one liner

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about cp -r . "$out"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be nativeBuildInputs

@ghost ghost force-pushed the sc2-headless branch from 3a47be8 to b14c19b Compare October 16, 2017 20:06
This packages up the Starcraft II headless Linux client provided by
Blizzard for machine learning research.
@ghost ghost force-pushed the sc2-headless branch from b14c19b to 188a413 Compare October 16, 2017 20:34
@Ericson2314 Ericson2314 merged commit 155b163 into NixOS:master Oct 16, 2017
@Ericson2314 Ericson2314 deleted the sc2-headless branch October 16, 2017 20:55
, licenseAccepted ? false
}:

if !licenseAccepted then throw ''
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant