mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
a1ed62e586
The sole consumer in Nixpkgs of `releaseTools.antBuild` is `pkgs/development/libraries/junit`, which has been broken since 2015-09-08. The sole consumer in Nixpkgs of `junit` is `pkgs/development/libraries/junixsocket`, which hasn't built due to `junit` since 2015-09-08. All three are removed due to their obvious lack of use. All other packages in Nixpkgs depending on junit consume `pkgs/development/java-modules/junit`, which is not broken. Any downstreams that have kept using these `junit` or `junixsocket` packages since 2015-09-08 have basically already vendored the packages via patching them, so no aliases are provided.
18 lines
436 B
Bash
18 lines
436 B
Bash
findTarball() {
|
|
local suffix i
|
|
if [ -d "$1/tarballs/" ]; then
|
|
for suffix in tar.gz tgz tar.bz2 tbz2 tbz tar.xz txz tar.lzma; do
|
|
for i in $1/tarballs/*.$suffix; do echo $i; break; done
|
|
done | sort | head -1
|
|
return
|
|
else
|
|
echo "$1"
|
|
return
|
|
fi
|
|
}
|
|
|
|
propagateImageName() {
|
|
mkdir -p $out/nix-support
|
|
cat "$diskImage"/nix-support/full-name > $out/nix-support/full-name
|
|
}
|