nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 16 lines 460 B view raw
1{ 2 octave, 3 makeSetupHook, 4 makeWrapper, 5}: 6 7# Defined in trivial-builders 8# Imported as wrapOctave in octave/default.nix and passed to octave's buildEnv 9# as nativeBuildInput 10# Each of the substitutions is available in the wrap.sh script as @thingSubstituted@ 11makeSetupHook { 12 name = "${octave.name}-pkgs-setup-hook"; 13 propagatedBuildInputs = [ makeWrapper ]; 14 substitutions.executable = octave.interpreter; 15 substitutions.octave = octave; 16} ./wrap.sh