From fe2c12e52ad8d47488ea58af88bd74b15ae3a67f Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 9 Jul 2019 09:40:45 +0000 Subject: sys: add build file for all systems This file can be given to nix-build(1), which will then build all defined systems. Useful for testing changes on one system haven't broken the build of another. --- sys/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sys/default.nix (limited to 'sys/default.nix') diff --git a/sys/default.nix b/sys/default.nix new file mode 100644 index 000000000000..7d23118cb6ad --- /dev/null +++ b/sys/default.nix @@ -0,0 +1,9 @@ +let + nixos = import ../modules; + buildSystem = configuration: (nixos { inherit configuration; }).system; + +in + +{ + x220 = buildSystem ./x220.nix; +} -- cgit 1.4.1