From 6052822283c056dd7b6f717b7318ea749b6eec67 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Wed, 5 Feb 2020 12:03:09 +0100 Subject: [PATCH] Move "lib" to output --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index cef2224..cb53aad 100644 --- a/flake.nix +++ b/flake.nix @@ -15,14 +15,14 @@ outputs = { self, dhall-haskell, genode-depot, nixpkgs }: let mkOutput = { system, localSystem, crossSystem }: - let - thisSystem = builtins.getAttr system; + let thisSystem = builtins.getAttr system; + in rec { + lib = (nixpkgs.lib) // (import ./lib { inherit system localSystem crossSystem; inherit nixpkgs dhall-haskell genode-depot; genodepkgs = self; }); - in rec { legacyPackages = thisSystem nixpkgs.legacyPackages; # pass thru Nixpkgs