flake: improve readability

This commit is contained in:
Jeremy Baxter 2024-02-12 16:00:51 +13:00
parent 9d828cce36
commit cee6d32b50

View file

@ -2,17 +2,14 @@
description = "standalone scripting platform for Lua 5.4"; description = "standalone scripting platform for Lua 5.4";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixpkgs.url = github:NixOS/nixpkgs/nixpkgs-unstable;
}; };
outputs = { self, nixpkgs }: outputs = { self, nixpkgs }:
with nixpkgs.lib;
let let
systems = [
"x86_64-linux"
"aarch64-linux"
];
forAllSystems = fn: forAllSystems = fn:
nixpkgs.lib.genAttrs systems (system: genAttrs platforms.unix (system:
fn (import nixpkgs { fn (import nixpkgs {
inherit system; inherit system;
}) })