pkgs/development/interpreters/octave/hooks: remove unused hook file

This was added as a duplicate in
481e1d3a77 but never referenced.

(cherry picked from commit c9d880432a)
This commit is contained in:
Wolfgang Walther 2024-11-10 19:03:41 +01:00 committed by github-actions[bot]
parent f7b0546871
commit 63f26920c7

View File

@ -1,17 +0,0 @@
# Setup hook for writing octave packages that are run-time dependencies for
# another package to a nix-support file.
# `echo`s the full path name to the package derivation that is required.
echo "Sourcing octave-write-required-octave-packages-hook.sh"
octaveWriteRequiredOctavePackagesPhase() {
echo "Executing octaveWriteRequiredOctavePackagesPhase"
mkdir -p $out/nix-support
echo ${requiredOctavePackages} > $out/nix-support/required-octave-packages
}
# Yes its a bit long...
if [ -z "${dontWriteRequiredOctavePackagesPhase-}" ]; then
echo "Using octaveWriteRequiredOctavePackagesPhase"
appendToVar preDistPhases octaveWriteRequiredOctavePackagesPhase
fi