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:
@@ -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> ];
|
||||
|
||||
Reference in New Issue
Block a user