Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60373 )
Change subject: util/liveiso: Ensure compatible NixOS channel is used ......................................................................
util/liveiso: Ensure compatible NixOS channel is used
Config options and package names might change from channel to channel. Thus, don't let nix-build depend on the locally configured NixOS channel, but instead let `nixpkgs` point to a specific channel to ensure that always a compatible channel is used.
For now, let `nixpkgs` point to NixOS 21.11, which is currently the latest stable release. This needs to be updated after a new release.
Change-Id: Ia77c34f93f0e2c3d351ae229830adfce75a56ae4 Signed-off-by: Felix Singer felixsinger@posteo.net Reviewed-on: https://review.coreboot.org/c/coreboot/+/60373 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Michael Niewöhner foss@mniewoehner.de --- M util/liveiso/build.sh 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Michael Niewöhner: Looks good to me, approved
diff --git a/util/liveiso/build.sh b/util/liveiso/build.sh index ee63bc5..702ace8 100755 --- a/util/liveiso/build.sh +++ b/util/liveiso/build.sh @@ -10,4 +10,5 @@
nix-build '<nixpkgs/nixos>' \ -A config.system.build.isoImage \ - -I nixos-config=$config + -I nixos-config=$config \ + -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-21.11.tar.gz
3 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.