mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
Combine ISO generation steps
This folds adding hydra-build-products into the actual ISO generation, preventing an unnecessary download of the ISO.
This commit is contained in:
parent
5cc7bcda30
commit
10293b87a9
3 changed files with 7 additions and 27 deletions
|
@ -39,7 +39,6 @@
|
|||
|
||||
, # The volume ID.
|
||||
volumeID ? ""
|
||||
|
||||
}:
|
||||
|
||||
assert bootable -> bootImage != "";
|
||||
|
@ -47,7 +46,7 @@ assert efiBootable -> efiBootImage != "";
|
|||
assert usbBootable -> isohybridMbrImage != "";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "iso9660-image";
|
||||
name = isoName;
|
||||
builder = ./make-iso9660-image.sh;
|
||||
buildInputs = [perl xorriso syslinux];
|
||||
|
||||
|
|
|
@ -133,3 +133,4 @@ fi
|
|||
|
||||
mkdir -p $out/nix-support
|
||||
echo $system > $out/nix-support/system
|
||||
echo "file iso $out/iso/$isoName" >> $out/nix-support/hydra-build-products
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue