Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
344 B · 11 lines
Nix
123456789101112{ lib }:lib.concatMapAttrs ( fileName: _type: let # Fixup is in `./${attrName}.nix` or in `./${fileName}/default.nix`: attrName = lib.removeSuffix ".nix" fileName; fixup = import (./. + "/${fileName}"); isFixup = fileName != "default.nix"; in lib.optionalAttrs isFixup { ${attrName} = fixup; }) (builtins.readDir ./.)