Merge pull request #36 from nix-community/fix/duplicate-kexec

Fix duplicate assets related to kexec-bundle
This commit is contained in:
Jörg Thalheim 2022-12-13 12:26:57 +00:00 committed by GitHub
commit c3f13148ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ build_kexec_bundle() {
declare -r tag=$1 arch=$2 tmp=$3 declare -r tag=$1 arch=$2 tmp=$3
# the default configuration conflicts with the kexec bundle configuration # the default configuration conflicts with the kexec bundle configuration
echo "{}" > "$tmp/config.nix" echo "{}" > "$tmp/config.nix"
nixos-generate -o "$tmp/kexec-bundle-$arch" -c "$tmp/config.nix" -f kexec-bundle -I "nixpkgs=https://github.com/NixOS/nixpkgs/archive/${tag}.tar.gz" nixos-generate -o "$tmp/kexec-bundle-$arch" -c "$tmp/config.nix" -f kexec-bundle -I "nixpkgs=https://github.com/NixOS/nixpkgs/archive/${tag}.tar.gz" >/dev/null
echo "$tmp/kexec-bundle-$arch" echo "$tmp/kexec-bundle-$arch"
} }