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