2016-03-06 23:54:07 +08:00
|
|
|
{system ? builtins.currentSystem}:
|
|
|
|
let
|
|
|
|
pkgs = import <nixpkgs> {inherit system;};
|
|
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // self );
|
|
|
|
|
|
|
|
self = {
|
2018-08-16 10:06:23 +08:00
|
|
|
binutils-or1k = callPackage ./binutils-or1k.nix {};
|
2016-03-06 23:54:07 +08:00
|
|
|
llvm-src = callPackage ./fetch-llvm-clang.nix {};
|
|
|
|
llvm-or1k = callPackage ./llvm-or1k.nix {};
|
|
|
|
llvmlite = callPackage ./llvmlite.nix {};
|
|
|
|
artiq = callPackage ./artiq.nix { };
|
|
|
|
};
|
|
|
|
artiq = self.artiq;
|
|
|
|
in
|
|
|
|
artiq
|