2
0
Fork 0
Genode Packages collection https://git.sr.ht/~ehmry/genodepkgs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
genodepkgs/packages.nix

38 lines
1.1 KiB

# SPDX-FileCopyrightText: Emery Hemingway
#
# SPDX-License-Identifier: LicenseRef-Hippocratic-1.1
3 years ago
let
nativeOverlay = self: super:
# Overlay of locally defined packages
with self;
let
3 years ago
genode = (callPackage ./upstream { } // {
libc = callPackage ./pkgs/libc { };
3 years ago
nic_bus = callPackage ./pkgs/nic_bus { };
});
dhallPackages = super.dhallPackages // (callPackage ./dhall { });
in {
genode-base = genode.base;
genode-base-linux = genode.base-linux;
genode-base-nova = genode.base-nova;
genode-os = genode.os;
depot = callPackage ./depot { };
dhallGenode = dhallPackages.genode;
dhallPrelude = dhallPackages.prelude;
nova = callPackage ./NOVA { };
solo5 = callPackage ./pkgs/solo5 { };
3 years ago
};
toolchainOverlay = import ./toolchain-overlay;
# Overlay of toolchain patches
3 years ago
3 years ago
in { nixpkgs ? import <nixpkgs>, extraOverlays ? [ ] }:
3 years ago
3 years ago
nixpkgs {
# Evaluate an overlayed Nixpkgs for a Genode target
localSystem = "x86_64-linux";
crossSystem = "x86_64-genode";
overlays = [ toolchainOverlay nativeOverlay ] ++ extraOverlays;
3 years ago
}