mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
a35e3e9777
commit
7e454277c3
1 changed files with 1 additions and 1 deletions
|
|
@ -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> ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue