Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 13 lines 358 B view raw
1if [ -e .attrs.sh ]; then source .attrs.sh; fi 2source $stdenv/setup 3export HOME=$NIX_BUILD_TOP 4 5nimble --accept --noSSLCheck develop "${pkgname}@${version}" 6# TODO: bring in the certificates for Nimble to verify the fetch of 7# the package list. 8 9pkgdir=${NIX_BUILD_TOP}/${pkgname} 10 11find "$pkgdir" -name .git -print0 | xargs -0 rm -rf 12 13cp -a "$pkgdir" "$out"