From cee6d32b50ce7cb8d20f2e0e33ff8b66d947a471 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Mon, 12 Feb 2024 16:00:51 +1300 Subject: [PATCH] flake: improve readability --- flake.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 288ba5e..6bd5873 100644 --- a/flake.nix +++ b/flake.nix @@ -2,17 +2,14 @@ description = "standalone scripting platform for Lua 5.4"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; + nixpkgs.url = github:NixOS/nixpkgs/nixpkgs-unstable; }; outputs = { self, nixpkgs }: + with nixpkgs.lib; let - systems = [ - "x86_64-linux" - "aarch64-linux" - ]; forAllSystems = fn: - nixpkgs.lib.genAttrs systems (system: + genAttrs platforms.unix (system: fn (import nixpkgs { inherit system; })