octave.pkgs: init

Heavily based on Python's packages set.
This commit is contained in:
Karl Hallsby
2021-02-24 21:00:48 +02:00
committed by Doron Behar
parent 148eff94b3
commit 481e1d3a77
11 changed files with 646 additions and 99 deletions
@@ -0,0 +1,6 @@
{ buildEnv, octavePackages }:
# Takes the buildEnv defined for Octave and the set of octavePackages, and returns
# a function, which when given a function whose return value is a list of extra
# packages to install, builds and returns that environment.
f: let packages = f octavePackages; in buildEnv.override { extraLibs = packages; }