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/flake.nix

33 lines
772 B

{
edition = 201909;
description = "Genode packages";
inputs = {
nixpkgs.uri = "git+https://gitea.c3d2.de/ehmry/nixpkgs.git";
dhall-haskell.uri =
"git+https://github.com/dhall-lang/dhall-haskell?ref=flake";
};
outputs = { self, nixpkgs, dhall-haskell }:
let
nixpkgs' = import nixpkgs;
systems = [ "x86_64-genode" ];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in {
packages = forAllSystems (system:
import ./packages.nix {
inherit system;
nixpkgs = nixpkgs';
});
checks = forAllSystems (system:
import ./tests {
inherit nixpkgs dhall-haskell;
genodepkgs = builtins.getAttr system self.packages;
});
};
}