Move "lib" to output
This commit is contained in:
parent
dcd9cfed13
commit
6052822283
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue