nixpkgs-suyu/helpers/setuid/builder.sh
Eelco Dolstra a66bae7b2f * Strip.
svn path=/nixos/trunk/; revision=7164
2006-11-28 17:40:56 +00:00

7 lines
162 B
Bash

source $stdenv/setup
ensureDir $out/bin
gcc -Wall -O2 -DWRAPPER_DIR=\"$wrapperDir\" $setuidWrapper -o $out/bin/setuid-wrapper
strip -s $out/bin/setuid-wrapper