feat: my custom libAttrs

This commit is contained in:
Ryan Yin committed 2023-12-23 11:06:50 +08:00
1 parent 27dd5ebb13
commit 82cfa4c6f7
6 files changed
+65 -22

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@
}: let
constants = import ./constants.nix;
# FYI: `lib.genAttrs [ "foo" "bar" ] (name: "x_" + name)` => `{ foo = "x_foo"; bar = "x_bar"; }`
# `lib.genAttrs [ "foo" "bar" ] (name: "x_" + name)` => `{ foo = "x_foo"; bar = "x_bar"; }`
forEachSystem = func: (nixpkgs.lib.genAttrs constants.allSystems func);
allSystemConfigurations = import ./systems {inherit self inputs constants;};