mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
sc2-headless: move defaults to package file
This commit is contained in:
parent
a111b5fde4
commit
c7675be3c1
@ -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 ''
|
||||
|
@ -21536,9 +21536,7 @@ in
|
||||
|
||||
### SCIENCE/MACHINE LEARNING
|
||||
|
||||
sc2-headless = callPackage ../applications/science/machine-learning/sc2-headless {
|
||||
licenseAccepted = (config.sc2-headless.accept_license or false);
|
||||
};
|
||||
sc2-headless = callPackage ../applications/science/machine-learning/sc2-headless { };
|
||||
|
||||
### SCIENCE/MATH
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user