1
0
Fork 0

remove unnecessary 'src = null' in mkDerivation

This commit is contained in:
Sebastien Bourdeauducq 2019-04-24 11:28:14 +08:00
parent 89c8d2c277
commit b49dc35cf6
3 changed files with 0 additions and 3 deletions

View File

@ -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 =
'' ''

View File

@ -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";

View File

@ -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 = ''