~aasg/nixexprs

4c843db4245ef0818cf72c85f0e73e405ac22546 — Aluísio Augusto Silva Gonçalves 4 months ago 54d1260
flake: Expose lib as an output

For some reason I thought this triggered an error during `nix flake
check`.  Turns out it only emits a warning, so we can now properly
access `lib` without having to import it ourselves now.
1 files changed, 1 insertions(+), 1 deletions(-)

M flake.nix
M flake.nix => flake.nix +1 -1
@@ 12,7 12,7 @@
      inherit (nixpkgs.lib.trivial) id flip pipe;
    in
    {
      #lib = import ./lib { inherit (nixpkgs) lib; };
      lib = import ./lib { inherit (nixpkgs) lib; };
      packages = genAttrs defaultSystems
        (system: pipe (import ./. { pkgs = nixpkgs.legacyPackages.${system}; }) [
          # Remove non–package attributes.