mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-27 18:46:13 +01:00
16 lines
326 B
Nix
16 lines
326 B
Nix
inputs: { lib, system }: {
|
|
halfCallFlake = flakeSrc:
|
|
let
|
|
flake = import (flakeSrc + "/outputs.nix");
|
|
outputs = flake ( inputs // { self = outputs; });
|
|
in
|
|
outputs;
|
|
|
|
getLegacyPkgs =
|
|
config:
|
|
pkgs:
|
|
lib.mapAttrs
|
|
(_: value: import "${value}" { inherit system config; })
|
|
pkgs;
|
|
}
|