octave.pkgs: init
Heavily based on Python's packages set.
This commit is contained in:
committed by
Doron Behar
parent
148eff94b3
commit
481e1d3a77
@@ -0,0 +1,16 @@
|
||||
{ lib
|
||||
, octave
|
||||
, makeSetupHook
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
# Defined in trivial-builders.nix
|
||||
# Imported as wrapOctave in octave/default.nix and passed to octave's buildEnv
|
||||
# as nativeBuildInput
|
||||
# Each of the substitutions is available in the wrap.sh script as @thingSubstituted@
|
||||
makeSetupHook {
|
||||
name = "${octave.name}-pkgs-setup-hook";
|
||||
deps = makeWrapper;
|
||||
substitutions.executable = octave.interpreter;
|
||||
substitutions.octave = octave;
|
||||
} ./wrap.sh
|
||||
Reference in New Issue
Block a user