2
0
Fork 0

Move "lib" to output

This commit is contained in:
Ehmry - 2020-02-05 12:03:09 +01:00
parent dcd9cfed13
commit 6052822283
1 changed files with 3 additions and 3 deletions

View File

@ -15,14 +15,14 @@
outputs = { self, dhall-haskell, genode-depot, nixpkgs }: outputs = { self, dhall-haskell, genode-depot, nixpkgs }:
let let
mkOutput = { system, localSystem, crossSystem }: mkOutput = { system, localSystem, crossSystem }:
let let thisSystem = builtins.getAttr system;
thisSystem = builtins.getAttr system; in rec {
lib = (nixpkgs.lib) // (import ./lib { lib = (nixpkgs.lib) // (import ./lib {
inherit system localSystem crossSystem; inherit system localSystem crossSystem;
inherit nixpkgs dhall-haskell genode-depot; inherit nixpkgs dhall-haskell genode-depot;
genodepkgs = self; genodepkgs = self;
}); });
in rec {
legacyPackages = thisSystem nixpkgs.legacyPackages; legacyPackages = thisSystem nixpkgs.legacyPackages;
# pass thru Nixpkgs # pass thru Nixpkgs