forked from M-Labs/nix-scripts
artiq-board: pass through src
This commit is contained in:
parent
b456cee553
commit
2afb9c94f3
|
@ -77,6 +77,7 @@ in
|
||||||
pkgs.python3Packages.toPythonModule (pkgs.stdenv.mkDerivation rec {
|
pkgs.python3Packages.toPythonModule (pkgs.stdenv.mkDerivation rec {
|
||||||
name = "artiq-board-${target}-${variant}-${version}";
|
name = "artiq-board-${target}-${variant}-${version}";
|
||||||
version = import ./pkgs/artiq-version.nix (with pkgs; { inherit stdenv fetchgit git; });
|
version = import ./pkgs/artiq-version.nix (with pkgs; { inherit stdenv fetchgit git; });
|
||||||
|
inherit src;
|
||||||
phases = [ "buildPhase" "checkPhase" "installPhase" ];
|
phases = [ "buildPhase" "checkPhase" "installPhase" ];
|
||||||
nativeBuildInputs = [ vivado pkgs.gnumake ]
|
nativeBuildInputs = [ vivado pkgs.gnumake ]
|
||||||
++ (if artiq7
|
++ (if artiq7
|
||||||
|
|
Loading…
Reference in New Issue