nixpkgs/pkgs/os-specific/linux/klibc/builder.sh

12 lines
175 B
Bash
Raw Normal View History

. $stdenv/setup
preBuild() {
kernelhash=$(ls $kernel/lib/modules)
echo $kernelhash
ln -s $kernel/lib/modules/$kernelhash/build linux
}
preBuild=preBuild
genericBuild