nixpkgs/pkgs/os-specific/linux/util-linux-static/builder.sh
Armijn Hemel ef883ffda8 add a static version of util-linux for NixOS
svn path=/nixpkgs/trunk/; revision=4425
2005-12-23 23:20:49 +00:00

10 lines
115 B
Bash

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