pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip, file, licenseFile ? null, optgamsFile ? null}:
|
||||
{ lib, stdenv, fetchurl, unzip, file, licenseFile ? null, optgamsFile ? null}:
|
||||
|
||||
assert licenseFile != null;
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
cp -a * "$out/share/gams"
|
||||
|
||||
cp ${licenseFile} $out/share/gams/gamslice.txt
|
||||
'' + stdenv.lib.optionalString (optgamsFile != null) ''
|
||||
'' + lib.optionalString (optgamsFile != null) ''
|
||||
cp ${optgamsFile} $out/share/gams/optgams.def
|
||||
ln -s $out/share/gams/optgams.def $out/bin/optgams.def
|
||||
'';
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib;{
|
||||
meta = with lib;{
|
||||
description = "General Algebraic Modeling System";
|
||||
longDescription = ''
|
||||
The General Algebraic Modeling System is a high-level modeling system for mathematical optimization.
|
||||
|
||||
Reference in New Issue
Block a user