From 01f73e486b33e948f8da10bfe134ae9394121095 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sat, 15 Jun 2019 15:45:06 +0200 Subject: [PATCH] Build the examples explicitly on/for Linux --- examples/full-nixos/arion-pkgs.nix | 6 +++++- examples/minimal/arion-pkgs.nix | 6 +++++- examples/nixos-unit/arion-pkgs.nix | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/examples/full-nixos/arion-pkgs.nix b/examples/full-nixos/arion-pkgs.nix index d13a605..69aad13 100644 --- a/examples/full-nixos/arion-pkgs.nix +++ b/examples/full-nixos/arion-pkgs.nix @@ -1,2 +1,6 @@ # Instead of pinning Nixpkgs, we can opt to use the one in NIX_PATH -import {} +import { + # We specify the architecture explicitly. Use a Linux remote builder when + # calling arion from other platforms. + system = "x86_64-linux"; +} diff --git a/examples/minimal/arion-pkgs.nix b/examples/minimal/arion-pkgs.nix index d13a605..69aad13 100644 --- a/examples/minimal/arion-pkgs.nix +++ b/examples/minimal/arion-pkgs.nix @@ -1,2 +1,6 @@ # Instead of pinning Nixpkgs, we can opt to use the one in NIX_PATH -import {} +import { + # We specify the architecture explicitly. Use a Linux remote builder when + # calling arion from other platforms. + system = "x86_64-linux"; +} diff --git a/examples/nixos-unit/arion-pkgs.nix b/examples/nixos-unit/arion-pkgs.nix index d13a605..69aad13 100644 --- a/examples/nixos-unit/arion-pkgs.nix +++ b/examples/nixos-unit/arion-pkgs.nix @@ -1,2 +1,6 @@ # Instead of pinning Nixpkgs, we can opt to use the one in NIX_PATH -import {} +import { + # We specify the architecture explicitly. Use a Linux remote builder when + # calling arion from other platforms. + system = "x86_64-linux"; +}