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 {
|
in rec {
|
||||||
inherit (rust) cargo rustc;
|
inherit (rust) cargo rustc;
|
||||||
inherit (callPackage ./pkgs/python3Packages.nix {}) migen misoc;
|
inherit (callPackage ./pkgs/python3Packages.nix {}) migen misoc;
|
||||||
binutils-or1k = callPackage ./binutils-or1k.nix {};
|
binutils-or1k = callPackage ./pkgs/binutils-or1k.nix {};
|
||||||
llvm-or1k = callPackage ./llvm-or1k.nix { inherit llvm-src; };
|
llvm-or1k = callPackage ./pkgs/llvm-or1k.nix { inherit llvm-src; };
|
||||||
llvmlite = callPackage ./llvmlite.nix { inherit llvm-or1k; };
|
llvmlite = callPackage ./pkgs/llvmlite.nix { inherit llvm-or1k; };
|
||||||
artiq = callPackage ./artiq.nix { inherit binutils-or1k; inherit llvm-or1k; inherit llvmlite; };
|
artiq = callPackage ./pkgs/artiq.nix { inherit binutils-or1k; inherit llvm-or1k; inherit llvmlite; };
|
||||||
openocd = callPackage ./pkgs/openocd.nix {};
|
openocd = callPackage ./pkgs/openocd.nix {};
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,7 +66,7 @@ in
|
||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
name = "artiq";
|
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 ];
|
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;
|
doCheck = false;
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
Loading…
Reference in New Issue