mirror of https://github.com/m-labs/artiq.git
nix: reorganize .nix files
This commit is contained in:
parent
e2799803cb
commit
48793b7ecf
|
@ -10,9 +10,9 @@ let
|
|||
in rec {
|
||||
inherit (rust) cargo rustc;
|
||||
inherit (callPackage ./pkgs/python3Packages.nix {}) migen misoc;
|
||||
binutils-or1k = callPackage ./binutils-or1k.nix {};
|
||||
llvm-or1k = callPackage ./llvm-or1k.nix { inherit llvm-src; };
|
||||
llvmlite = callPackage ./llvmlite.nix { inherit llvm-or1k; };
|
||||
artiq = callPackage ./artiq.nix { inherit binutils-or1k; inherit llvm-or1k; inherit llvmlite; };
|
||||
binutils-or1k = callPackage ./pkgs/binutils-or1k.nix {};
|
||||
llvm-or1k = callPackage ./pkgs/llvm-or1k.nix { inherit llvm-src; };
|
||||
llvmlite = callPackage ./pkgs/llvmlite.nix { inherit llvm-or1k; };
|
||||
artiq = callPackage ./pkgs/artiq.nix { inherit binutils-or1k; inherit llvm-or1k; inherit llvmlite; };
|
||||
openocd = callPackage ./pkgs/openocd.nix {};
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ in
|
|||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
name = "artiq";
|
||||
src = ./..;
|
||||
src = ./../..;
|
||||
propagatedBuildInputs = with python3Packages; [ binutils-or1k llvm-or1k llvmlite levenshtein pyqtgraph-qt5 aiohttp pygit2 pythonparser numpy dateutil quamash scipy prettytable pyserial asyncserial h5py cython regex qt5Full pyqt5 ];
|
||||
doCheck = false;
|
||||
meta = with stdenv.lib; {
|
Loading…
Reference in New Issue