about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-10-16 11:26:39 -0400
committerShea Levy <shea@shealevy.com>2013-10-16 11:26:39 -0400
commit6171f13ed573183516fa3a86ca44e0334501b037 (patch)
treed6fe7d3b2d7e1d292279b5164a6a86325cdf24eb /nixos
parent715bee3a0a4aae345e5e12dc02c307b26297a658 (diff)
downloadnixlib-6171f13ed573183516fa3a86ca44e0334501b037.tar
nixlib-6171f13ed573183516fa3a86ca44e0334501b037.tar.gz
nixlib-6171f13ed573183516fa3a86ca44e0334501b037.tar.bz2
nixlib-6171f13ed573183516fa3a86ca44e0334501b037.tar.lz
nixlib-6171f13ed573183516fa3a86ca44e0334501b037.tar.xz
nixlib-6171f13ed573183516fa3a86ca44e0334501b037.tar.zst
nixlib-6171f13ed573183516fa3a86ca44e0334501b037.zip
Add gurobi to the system packages if the configuration specifies a license
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/gurobi.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/programs/gurobi.nix b/nixos/modules/programs/gurobi.nix
index 038ead44b4cf..4c673a96db06 100644
--- a/nixos/modules/programs/gurobi.nix
+++ b/nixos/modules/programs/gurobi.nix
@@ -36,6 +36,8 @@ in {
           name = "gurobi-generated-license";
           text = "TOKENSERVER=${cfg.tokenServerAddress}";
         };
+
+      environment.systemPackages = [ pkgs.gurobi ];
     };
   };
 }