cctools, darwin biutils: Use pname and version

This commit is contained in:
John Ericson 2019-11-24 18:36:40 +00:00
parent 234446a447
commit ef328622e0
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,8 @@ in
# TODO: loop over targetPrefixed binaries too
stdenv.mkDerivation {
name = "${targetPrefix}cctools-binutils-darwin";
pname = "${targetPrefix}cctools-binutils-darwin";
inherit (cctools) version;
outputs = [ "out" "info" "man" ];
buildCommand = ''
mkdir -p $out/bin $out/include

View File

@ -18,7 +18,7 @@ assert (!stdenv.hostPlatform.isDarwin) -> maloader != null;
let
baseParams = rec {
name = "${targetPrefix}cctools-port-${version}";
pname = "${targetPrefix}cctools-port";
version = "895";
src = fetchFromGitHub {