From c9d880432a0d932d9f57149f26c50dfeb977d22e Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 10 Nov 2024 19:03:41 +0100 Subject: [PATCH] pkgs/development/interpreters/octave/hooks: remove unused hook file This was added as a duplicate in 481e1d3a77e1933d82fc66b78f7b2b42fdce91d7 but never referenced. --- ...ctave-write-required-octave-packages-hook.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 pkgs/development/interpreters/octave/hooks/octave-write-required-octave-packages-hook.sh diff --git a/pkgs/development/interpreters/octave/hooks/octave-write-required-octave-packages-hook.sh b/pkgs/development/interpreters/octave/hooks/octave-write-required-octave-packages-hook.sh deleted file mode 100644 index fb808485a36a..000000000000 --- a/pkgs/development/interpreters/octave/hooks/octave-write-required-octave-packages-hook.sh +++ /dev/null @@ -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