diff --git a/pkgs/by-name/re/rep-gtk/setup-hook.sh b/pkgs/by-name/re/rep-gtk/setup-hook.sh deleted file mode 100644 index 4d875b693304..000000000000 --- a/pkgs/by-name/re/rep-gtk/setup-hook.sh +++ /dev/null @@ -1,5 +0,0 @@ -addRepDLLoadPath () { - addToSearchPath REP_DL_LOAD_PATH $1/lib/rep -} - -addEnvHooks "$hostOffset" addRepDLLoadPath diff --git a/pkgs/development/interpreters/lua-5/hooks/setup-hook.sh b/pkgs/development/interpreters/lua-5/hooks/setup-hook.sh deleted file mode 100644 index 0e9aa689706e..000000000000 --- a/pkgs/development/interpreters/lua-5/hooks/setup-hook.sh +++ /dev/null @@ -1,4 +0,0 @@ -# set -e - -source ./utils.sh -addEnvHooks "$hostOffset" addToLuaPath 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 diff --git a/pkgs/development/libraries/kde-frameworks/kdoctools/setup-hook.sh b/pkgs/development/libraries/kde-frameworks/kdoctools/setup-hook.sh deleted file mode 100644 index 2928d9b34dbe..000000000000 --- a/pkgs/development/libraries/kde-frameworks/kdoctools/setup-hook.sh +++ /dev/null @@ -1,5 +0,0 @@ -addXdgData() { - addToSearchPath XDG_DATA_DIRS "$1/share" -} - -addEnvHooks "$targetOffset" addXdgData diff --git a/pkgs/development/tools/parsing/antlr/builder.sh b/pkgs/development/tools/parsing/antlr/builder.sh deleted file mode 100644 index c1d20845e6bf..000000000000 --- a/pkgs/development/tools/parsing/antlr/builder.sh +++ /dev/null @@ -1,24 +0,0 @@ -if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi -source $stdenv/setup - -tar zxvf $src -cd antlr-* -cd lib - -mkdir -p $out/lib/antlr -mkdir -p $out/bin - -cp *.jar $out/lib/antlr - -classpath="" -for jar in $out/lib/antlr/*.jar; do - classpath="$classpath:$jar" -done - -cat > $out/bin/antlr < hello.c < - -int main(int argc, char * * argv) -{ - printf("Hello World!\n"); - return 0; -} -EOF - -#gcc -I/nix/store/foo -I /nix/store/foo -I/usr/lib -I /usr/lib hello.c -o $out/bin/hello -gcc -I`pwd` -L /nix/store/abcd/lib -isystem /usr/lib hello.c -o $out/bin/hello - -$out/bin/hello - -cat > hello2.cc < - -int main(int argc, char * * argv) -{ - std::cout << "Hello World!\n"; - std::cout << VALUE << std::endl; - return 0; -} -EOF - -g++ hello2.cc -o $out/bin/hello2 -DVALUE="1 + 2 * 3" - -$out/bin/hello2 - -ld -v