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

This was added as a duplicate in
481e1d3a77 but never referenced.
This commit is contained in:
Wolfgang Walther 2024-11-10 19:03:41 +01:00
parent 6074f9008d
commit c9d880432a
No known key found for this signature in database
GPG Key ID: B39893FA5F65CAE1

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