flake: improve readability
This commit is contained in:
parent
9d828cce36
commit
cee6d32b50
1 changed files with 3 additions and 6 deletions
|
@ -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;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue