summary refs log tree commit diff
path: root/pkgs/misc/nix-static/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/nix-static/builder.sh')
-rw-r--r--pkgs/misc/nix-static/builder.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/pkgs/misc/nix-static/builder.sh b/pkgs/misc/nix-static/builder.sh
deleted file mode 100644
index 940e8b828e99..000000000000
--- a/pkgs/misc/nix-static/builder.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-source $stdenv/setup
-
-configureFlags="\
-  --with-store-dir=$storeDir --localstatedir=$stateDir \
-  --with-aterm=$aterm --with-bdb=$bdb \
-  --disable-init-state"
-
-preConfigure() {
-  autoreconf
-}
-
-preConfigure=preConfigure
-
-postInstall() {
-  cd $out/bin
-
-  find . -type f | while read fn; do
-    cat $fn | sed "s|/nix/store/[a-z0-9]*-glibc|/nix/store/ffffffffffffffffffffffffffffffff-glibc|g" > $fn.tmp
-    if test -x $fn; then chmod +x $fn.tmp; fi
-    mv $fn.tmp $fn
-  done
-}
-
-postInstall=postInstall
-
-genericBuild