2
0
Fork 0

Add libc to flake

20.02
Emery Hemingway 3 years ago
parent ace8d49163
commit 2a8398984e
  1. 6
      flake.nix
  2. 4
      packages.nix

@ -17,11 +17,15 @@
in {
lib = import ./lib { genodepkgs = self; inherit nixpkgs dhall-haskell genode-depot; };
lib = import ./lib {
genodepkgs = self;
inherit nixpkgs dhall-haskell genode-depot;
};
packages = forAllSystems (system:
import ./packages.nix {
inherit system nixpkgs;
depot = builtins.getAttr system genode-depot.packages;
});
checks = forAllSystems (system:

@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: LicenseRef-Hippocratic-1.1
{ system, nixpkgs }:
{ system, nixpkgs, depot }:
let
toolchainOverlay = import ./toolchain-overlay;
@ -13,7 +13,6 @@ let
inherit (super) callPackage;
genode = (callPackage ./upstream { } // {
libc = callPackage ./pkgs/libc { };
nic_bus = callPackage ./pkgs/nic_bus { };
});
dhallPackages = super.dhallPackages // (callPackage ./dhall { });
@ -23,6 +22,7 @@ in rec {
genode-base-linux = genode.base-linux;
genode-base-nova = genode.base-nova;
genode-os = genode.os;
libc = callPackage ./pkgs/libc { inherit depot; };
dhallGenode = dhallPackages.genode;
dhallPrelude = dhallPackages.prelude;

Loading…
Cancel
Save