sc2-headless: move defaults to package file

This commit is contained in:
Jan Malakhovski
2019-02-03 15:33:29 +00:00
parent a111b5fde4
commit c7675be3c1
2 changed files with 3 additions and 5 deletions
@@ -1,9 +1,9 @@
{ stdenv
{ config, stdenv
, callPackage
, lib
, fetchurl
, unzip
, licenseAccepted ? false
, licenseAccepted ? config.sc2-headless.accept_license or false
}:
if !licenseAccepted then throw ''