openstack-image: use pkgs.stdenv.hostPlatform.system instead of deprecated pkgs.system

pkgs.system is a deprecated alias that doesn't exist when
allowAliases = false, causing evaluation failures in nixpkgs-review.
This commit is contained in:
Philip Taron 2026-03-24 16:31:55 -07:00
commit 7e454277c3
No known key found for this signature in database

View file

@ -31,7 +31,7 @@ in
;
inherit (config.image) baseName;
additionalSpace = "1024M";
pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
pkgs = import ../../../.. { inherit (pkgs.stdenv.hostPlatform) system; }; # ensure we use the regular qemu-kvm package
configFile = pkgs.writeText "configuration.nix" ''
{
imports = [ <nixpkgs/nixos/modules/virtualisation/openstack-config.nix> ];