Unverified Commit 7e454277 authored by Philip Taron's avatar Philip Taron
Browse files

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.
parent a35e3e97
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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> ];