From 387f59af8dd2bc12541b6c029e4260e068c8b086 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 10 Nov 2024 18:48:20 +0100 Subject: [PATCH] pkgs/misc/cups/drivers/samsung/4.00.39: remove unused builder.sh Oversight in d14b6e65fffc88872063d6e0c6f4635bfd6c887e. --- .../cups/drivers/samsung/4.00.39/builder.sh | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 pkgs/misc/cups/drivers/samsung/4.00.39/builder.sh diff --git a/pkgs/misc/cups/drivers/samsung/4.00.39/builder.sh b/pkgs/misc/cups/drivers/samsung/4.00.39/builder.sh deleted file mode 100644 index 829bc6509e06..000000000000 --- a/pkgs/misc/cups/drivers/samsung/4.00.39/builder.sh +++ /dev/null @@ -1,36 +0,0 @@ -if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi -source $stdenv/setup - -arch=$(uname -m) -echo "$arch" | egrep -q '^i[3456]86$' && arch=i386 -echo "Installing for $arch" - -unpackPhase -patchPhase - -set -v - -cd cdroot/Linux -mkdir -p $out/opt -cp -r $arch/at_root/* $out -cp -r $arch/at_opt/* $out/opt -#cp -r noarch/at_root/* $out -cp -r noarch/at_opt/* $out/opt - -cd $out -test -d usr/lib64 && ln -s usr/lib64 lib || - ln -s usr/lib lib -mkdir -p share/cups -cd share/cups -ln -s ../../opt/share/* . -ln -s ppd model - -cd $out/lib/cups/filter -for i in $(ls); do - echo "Patching $i..." - patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $i || - echo "Couldn't set interpreter!" - patchelf --set-rpath $cups/lib:$gcc/lib:$glibc/lib $i # This might not be necessary. -done - -ln -s $ghostscript/bin/gs $out/lib/cups/filter