nixpkgs/pkgs/os-specific/linux/util-linux-static/builder.sh
Armijn Hemel b768475a3a don't strip the binaries in $out/bin and $out/sbin. strip doesn't recognize
the format of one of the files (a shellscript) and thus returns an error
code, which can safely be ignored, but from which Nix will conclude the build
has failed.

svn path=/nixpkgs/trunk/; revision=4454
2005-12-28 13:00:09 +00:00

10 lines
117 B
Bash

source $stdenv/setup
export LDFLAGS=-static
export DESTDIR=$out
genericBuild
#strip $out/bin/*
#strip $out/sbin/*