forked from M-Labs/nix-scripts
remove unnecessary 'src = null' in mkDerivation
This commit is contained in:
parent
89c8d2c277
commit
b49dc35cf6
|
@ -47,7 +47,6 @@ let
|
||||||
in pkgs.python3Packages.buildPythonPackage rec {
|
in pkgs.python3Packages.buildPythonPackage rec {
|
||||||
name = "artiq-board-${target}-${variant}-${version}";
|
name = "artiq-board-${target}-${variant}-${version}";
|
||||||
version = import ./pkgs/artiq-version.nix;
|
version = import ./pkgs/artiq-version.nix;
|
||||||
src = null;
|
|
||||||
phases = [ "buildPhase" "installPhase" ];
|
phases = [ "buildPhase" "installPhase" ];
|
||||||
buildPhase =
|
buildPhase =
|
||||||
''
|
''
|
||||||
|
|
|
@ -17,7 +17,6 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "windows-test";
|
name = "windows-test";
|
||||||
src = null;
|
|
||||||
|
|
||||||
phases = [ "installPhase" "checkPhase" ];
|
phases = [ "installPhase" "checkPhase" ];
|
||||||
installPhase = "touch $out";
|
installPhase = "touch $out";
|
||||||
|
|
1
main.nix
1
main.nix
|
@ -55,7 +55,6 @@ in
|
||||||
|
|
||||||
windows-no-hardware-tests = pkgs.stdenv.mkDerivation {
|
windows-no-hardware-tests = pkgs.stdenv.mkDerivation {
|
||||||
name = "windows-no-hardware-tests";
|
name = "windows-no-hardware-tests";
|
||||||
src = null;
|
|
||||||
buildInputs = [ (windowsRunner {}) ];
|
buildInputs = [ (windowsRunner {}) ];
|
||||||
phases = [ "buildPhase" ];
|
phases = [ "buildPhase" ];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
Loading…
Reference in New Issue