Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
339 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{ 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; }