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

12 lines
180 B
Bash
Raw Normal View History

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