Merge pull request #36 from nix-community/fix/duplicate-kexec
Fix duplicate assets related to kexec-bundle
This commit is contained in:
commit
c3f13148ee
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue