nix: use filterSource

This commit is contained in:
Sebastien Bourdeauducq 2019-02-14 00:08:43 +08:00
parent f657c44e3d
commit 322861225e
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@ in
python3Packages.buildPythonPackage rec {
name = "artiq";
src = ./../..;
src = builtins.filterSource
(path: type: type != "directory" || builtins.baseNameOf path != ".nix")
./../..;
buildInputs = [ git ];
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 ];
checkPhase = "python -m unittest discover -v artiq.test";