From 80d58e2bf5c947e8117e4b61cef658ecec64f0d0 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Fri, 3 May 2019 18:20:10 -0500 Subject: [PATCH] swift: move most inputs to nativeBuildInputs --- pkgs/development/compilers/swift/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/swift/default.nix b/pkgs/development/compilers/swift/default.nix index 31e2e806fbc..09ec1ccfe26 100644 --- a/pkgs/development/compilers/swift/default.nix +++ b/pkgs/development/compilers/swift/default.nix @@ -135,23 +135,25 @@ in stdenv.mkDerivation rec { name = "swift-${version_friendly}"; - buildInputs = devInputs ++ [ + nativeBuildInputs = [ autoconf automake bash - clang cmake coreutils + findutils + gnumake libtool + makeWrapper ninja perl pkgconfig python rsync which - findutils - makeWrapper - gnumake + ]; + buildInputs = devInputs ++ [ + clang ]; # TODO: Revisit what's propagated and how